Feature #2930
Multilanguage
100%
Description
Hello
Maybe is possible to implement to TVHeadend multilanguage ? I want to be a translater to Polish. More and more apps has implement multilanguage...
Subtasks
History
Updated by Jaroslav Kysela over 9 years ago
My notes, C language:
https://www.gnu.org/software/gettext/
Javascript:
https://github.com/SlexAxton/Jed
or eventually fetch the translated data from the tvh http server using AJAX at javacript runtime.
Updated by big big over 9 years ago
Piotr Kuchciak wrote:
Can you implement this and share file to translate ?
Hello,
I will do the same for french.
regards,
Updated by Jaroslav Kysela over 9 years ago
After days of hacking, I have something useable. In latest code, there's intl/ tree with .po files to edit (the top level directory is for C code, the js tree is for javascript). You may use editor like poedit or any text editor to fill msgstr lines. If you type 'make', the tvheadend should be rebuilt using new strings. To activate locale, set the language in ACL grid for active user (German, French, Polish, Czech). I'll write something more probably to wiki when I'll have a little time.
Updated by Piotr Kuchciak over 9 years ago
After update to version 4.1.236 still my webui not show. Page load ok but is blank(white). Please help me.
Updated by Jaroslav Kysela over 9 years ago
Please, do all translations here: https://www.transifex.com/projects/p/tvheadend/
Updated by Piotr Kuchciak over 9 years ago
How often you update this translate(which we do) to repository to TVHeadend ?
Updated by Jaroslav Kysela over 9 years ago
Added Bulgarian, Serbian, Croatian and denied English (en), German (de_DE), Bulgarian (bg_BG) - duplicates. For (en) - the strings in C/JS sources should be modified (templates) rather than to create a new (en) locale.
Updated by Piotr Kuchciak over 9 years ago
Did you merged only full translate or did you merged also part translate ? I have now about 41% translate and i want to see how looks in Tvheadend... But i plan translate full but need a free time (day)
Updated by saen acro over 9 years ago
Please, add independent "Interface Language" in Settings > General
Some people do not like translated programs maby mental problem
Updated by big big over 9 years ago
Hello,
Thank's, it's fantastic job, as usual!
I've started the french translation, i will continue later.
Updated by Jaroslav Kysela over 9 years ago
- Status changed from New to Fixed
OK. The internationalization is almost finished (except some translations, but it's another story). I'm closing this.