From: Chad <ch...@ch...> - 2002-11-30 22:09:31
|
Languages have been updated for 0.9, this shouldn't be issue, since we drop in all the text for the next version, send them out for translations, then commit back into the project. Its only between versions in CVS that the languages are off. Hopefully nothing will have been overlooked. :-) Jared, I've prepped all the language files for translations, may send them out. Only one I didn't touch was your japanese, since it was partially translated. -C On Saturday, November 30, 2002, at 01:19 PM, Bill Fenner wrote: > > In case there are words that get forgotten or are left untranslated in > a given language.inc.php, what do you think about always including > english.inc.php first? The other language.inc.php will overwrite > all the definitions for the translations that it knows about, and > the english ones will be left for the ones that are untranslated. > > The diff is like: > > --- functions/init.inc.php 19 Nov 2002 05:46:02 -0000 1.26 > +++ functions/init.inc.php 30 Nov 2002 21:15:04 -0000 > @@ -25,6 +25,10 @@ > $language = strtolower($language); > $lang_file = BASE.'/languages/'.$language.'.inc.php'; > > +// english is always the most complete, so include it first and > +// let the other languages override the ones they know. > +include(BASE.'/languages/english.inc.php'); > + > if (file_exists($lang_file)) { > include($lang_file); > } else { > > > This is unnecessary overhead in the preferred case (i.e. when the > translations are complete), but is potentially better than printing > empty strings for untranslated phrases if something gets overlooked. > > What do you think? > > Bill > > > ------------------------------------------------------- > This SF.net email is sponsored by: Get the new Palm Tungsten T > handheld. Power & Color in a compact size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en > _______________________________________________ > Phpicalendar-devel mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel |