Page 1 of 1

How to translate messages not in the PO file ?

Posted: 03 Sep 2014, 14:47
by asalthobaity
There are messages not in the PO file. For example , "Your message has been sent." message after sending an article by email and many other messages as well. Looks like they are hard-coded in several files..

Re: How to translate messages not in the PO file ?

Posted: 06 Sep 2014, 15:03
by fox
For some reason xgettext partially ignores lines in .js files. I'm not sure why, maybe someone who better understands how it works can figure it out.

e: looks like using Java language for JS files in xgettext wasn't the best idea, it seems to work better with them as Perl. several new translations appeared in .pot.

https://github.com/gothfox/Tiny-Tiny-RS ... 6a3250809f