2013-04-21, 10:33
This is how I use translation in my add-ons:
https://github.com/dersphere/plugin.vide...r/addon.py
See STRINGS-dict (Line 27) and _ (underscore) function (Line 471).
Then I can use translated string with the underscore-method using strings or placeholders as string-ids.
https://github.com/dersphere/plugin.vide...r/addon.py
See STRINGS-dict (Line 27) and _ (underscore) function (Line 471).
Then I can use translated string with the underscore-method using strings or placeholders as string-ids.