Dne Wed, 24 Mar 2010 17:04:49 -0400 Marc Delisle marc@infomarc.info napsal(a):
Michal Čihař a écrit :
Hi
Dne Tue, 23 Mar 2010 12:58:36 -0400 Marc Delisle marc@infomarc.info napsal(a):
This means that we have to keep (for some time) the /lang and /po directories. But how will the translators know which one to update? In the wiki you tell them to use https://l10n.cihar.com/.
No, the strXXX values are filled in by gettext, so the only source for translations are po files.
Ok, I just noticed libraries/messages.inc.php. So when the gettext branch is merged to master, /lang disappears.
I guess we could mechanically transform $strXXX messages into their __('XXX') equivalent, in all scripts?
Yes, the problem is that in several places strXXX is constructed dynamically.