[Phpmyadmin-devel] Translatable messages

Rouslan Placella rouslan at placella.com
Wed Jun 22 14:48:17 CEST 2011


On Wed, 2011-06-22 at 11:14 +0200, Michal Čihař wrote:
> 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'.

Sounds like my code for toggling the event scheduler. Thanks for fixing
that for me :)





More information about the Developers mailing list