2012-05-09, 12:35
So I've implemented actual gettext support here and python interface here.
I'm starting to wonder if this have been though much through before jumping into it, because there's a few limitations:
- language files must be placed in a directory "nb/LC_MESSAGES" or "nb_NO/LC_MESSAGES" for example
- to be able to distribute translations along with addons, the .mo files must have a unique name i.e. <addon-id>.mo
- also, how should the binary .mo files be deployed? Generated by addon devs, or by xbmc on download?
I'm starting to wonder if this have been though much through before jumping into it, because there's a few limitations:
- language files must be placed in a directory "nb/LC_MESSAGES" or "nb_NO/LC_MESSAGES" for example
- to be able to distribute translations along with addons, the .mo files must have a unique name i.e. <addon-id>.mo
- also, how should the binary .mo files be deployed? Generated by addon devs, or by xbmc on download?