[Phpmyadmin-devel] Re : Bug #547578

Michal Cihar cihar at liten.cz
Mon Oct 14 02:46:03 CEST 2002


Hi

> IMHO, the best solutiuon is the first one ie
> >1) We could add a set of new language files that are
> >   encoded with the Mac charsets. Unfortunatly, this
> >   would result in larger distribution packages, but
> >   it is the only way to have this problem fixed without
> >   using iconv or recode.
>
> OK, the package will be larger, but this is a one time
> problem: when dowloading and installing phpMyAdmin. Other
> possible fixes will increase too much server charge each
> time an end-user play with phpMyAdmin.

I absolutely agree with this, using recode/iconv for each string would
cause much overhead on server. But there could be other solution:

4) Allow runtime generation of translations, eg. there will be list of
possible translations and when user selects one that is not existing, the
translation will be generated during this request and all next time this
generated one will be used. This would require few things:
- webserwer user writable lang directory (or move generated translations to other
directory)
- some version checking of translations (when pma gets updated, the generated translations must be
refreshed)
- make this easily configurable (how to describe how to generate these
translations)

This wouldn't increase much dist packages nor server load, but it is
harder to make it (eh, this is usual, isn't it?).

	Michal





More information about the Developers mailing list