[Phpmyadmin-devel] Translatable messages
Michal Čihař
michal at cihar.com
Wed Jun 22 11:14:15 CEST 2011
Hi
Dne Wed, 22 Jun 2011 10:58:15 +0200
Tyron Madlener <tyronx at gmail.com> napsal(a):
> > Format string order - do not assume other language will keep order of printf parameters, in many case it won't.
>
> How to avoid this then?
Use position based format strings such as %2$s, updated wiki with this.
> > Untranslated parts - you might want to use some value directly as received from MySQL (eg. ON/OFF), but in most case it will look oddly in translated version.
>
> It would be bad to change that in the case of server variables, since
> mysql only accepts setting english ON/OFF ;)
> I think it would be misleading to have ON/OFF translated.
Indeed in some cases it makes sense to keep it, but definitely not in
situations like 'Turn %s'.
--
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: 836 bytes
Desc: not available
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20110622/e02c7041/attachment.sig>
More information about the Developers
mailing list