Specifically, what is i18n.tr short for?
1 Answer
The i18n
portion is the component name, and the tr()
function is the function to translate a string, in the Ubuntu SDK, with QML.
This method of translation support uses gettext, and not the built-in localization features of Qt/QML, which are not compatible with gettext.
-
-
1The terms are frequently abbreviated to the numeronyms i18n (where 18 stands for the number of letters between the first i and last n in internationalization, a usage coined at DEC in the 1970s or 80s) See Wikipedia Apr 15, 2014 at 7:08