problems with l10n

Posted by flauta 
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.
Now, this forum is in read-only mode. You find details Details hereContinue on /r/PirateBox
problems with l10n
October 01, 2017 02:01PM
I find problems with special chars during the translation of strings.

After creating file /opt/piratebox/share/content/locales/data.it.properties and editing locales.ini, I can use &specialchars; notation in the header strings (welcomeWelcome and such). They get converted in correct accented letters. eg è becomes รจ

In the footer strings (FooterAbout and others) text is translated correctly, but same special strings don't get converted and are displayed exactly as typed.
Re: problems with l10n [SOLVED]
October 01, 2017 02:21PM
Resolved after looking into french and german translations :-)

Strings containing special chars must be preceded by 'innerHTML'
(eg FooterAbout becomes FooterAbout.innerHTML)

Maybe this could be mentioned in the general Theming/translation FAQ ?
[piratebox.cc]

thanks
Re: problems with l10n [SOLVED]
October 11, 2017 01:34PM
Thanks, I noted it in our issue list and try to adapt these information- as soon as I can.