[Phpmyadmin-devel] gettext transition

Marc Delisle marc at infomarc.info
Wed Mar 24 22:04:49 CET 2010


Michal Čihař a écrit :
> Hi
> 
> Dne Tue, 23 Mar 2010 12:58:36 -0400
> Marc Delisle <marc at 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?

-- 
Marc Delisle
http://infomarc.info




More information about the Developers mailing list