"Olivier M." a écrit :
On Fri, May 04, 2001 at 08:04:40AM -0400, Marc Delisle wrote:
I suggest this: in select_lang.inc.php3, just before the require, add this: require($lang_path . 'english.inc.php3');
So, if the translation is not available, english will show (hopefully the english file should be complete).
It would be a good hack, but that's not clean IMHO. This way, the translators (not always technical people) would always have to compare their file to the englich version on every check, which takes time.
It think it's much easier to add an "// last" tag at the end of every lang file, and then with a perl -i -p -e 's///\ last/newstringdef\n//\ last/g' lang/*.php3 add the new string everywhere. That's the way I use for example with omail-webmail.
-> consistency -> easier for translators -> clean :)
Regards, Olivier
Olivier,
The // last tag is ok for me. BTW do we have "official" translators for every language?
I was under the impression that the phmyadmin-translators mailing list would give us quick answers, and each developper would himself add the translated strings to appropriate files, but I realize that we won't have immediately translations for all supported language files. So a lag will develop, and it will be clean to see the new strings at the end of file.
Marc