[Phpmyadmin-devel] gettext transition
Michal Čihař
michal at cihar.com
Wed Mar 24 23:00:05 CET 2010
Dne Wed, 24 Mar 2010 17:04:49 -0400
Marc Delisle <marc at infomarc.info> napsal(a):
> 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?
Yes, the problem is that in several places strXXX is constructed
dynamically.
--
Michal Čihař | http://cihar.com | http://blog.cihar.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20100324/93de716b/attachment.sig>
More information about the Developers
mailing list