From: Mitra <mi...@mi...> - 2003-01-21 00:22:38
|
No - that isn't what I meant Your code is fine, but due to the way config.php3 is different on everyone's system then the CVS update won't work for anyone with a different language than you. The problem is with /* # Language: uncomment one language file require ($GLOBALS[AA_INC_PATH] . "en_common_lang.php3"); # English # require ($GLOBALS[AA_INC_PATH] . "cz_common_lang.php3"); # Czech # require ($GLOBALS[AA_INC_PATH] . "es_common_lang.php3"); # Spanish # require ($GLOBALS[AA_INC_PATH] . "sk_common_lang.php3"); # Slovak # require ($GLOBALS[AA_INC_PATH] . "de_common_lang.php3"); # Deutsch # require ($GLOBALS[AA_INC_PATH] . "ro_common_lang.php3"); # Romanian # require ($GLOBALS[AA_INC_PATH] . "ja_common_lang.php3"); # Japan */ After your changes, the require of "en_common_lang.php3" won't work any more. The fix is to comment out the entire section, that should work with merging into most people's config.php3 - Mitra At 4:49 PM +0100 20/1/03, Jakub Adamek wrote: >Mitra, > >I hope you mean DEFAULT_LANG_FILE. This setting is used with >mini-gettext much like it was before with language constants. There is >no problem with it. > >There is only one new $XMGETTEXT_DESTINATION_DIR variable in >config.php3, which is important only when you update language files, >i.e. not all superadmins must set it. > >Jakub > >> -----Original Message----- >> From: apc...@li... >> [mailto:apc...@li...] On Behalf Of Mitra >> Sent: Saturday, January 18, 2003 8:58 AM >> To: apc...@so... >> Subject: [Apc-aa-coders] Conflicts with new CVS version - and >> suggested fixes >> >> >> Jakub >> >> I've done a CVS update from your mgettext version. >> >> I successfully merged your changes with mine. I have NOT committed my >> changes yet, I don't think my code is stable enough for that, >> although its running fine on my site. >> >> There is one problem I've seen - apart from the missing >> files you mentioned. >> >> config.php3 contains an include for the main language file you are >> using, which no longer exists. Which file is included will of course >> vary from machine to machine. >> >> I suggest commenting out that part of the config.php3, that way your >> change should merge cleanly with whatever each site has locally. >> >> - Mitra >> >> >> -- >> Mitra Technology Consulting - www.mitra.biz - mi...@mi... >> 02-6684-8096 or 0414-648-0722 >> >> Life is a Mystery to be Lived, not a Problem to be Solved >> >> >> >> ------------------------------------------------------- >> This SF.NET email is sponsored by: Thawte.com - A 128-bit >> supercerts will >> allow you to extend the highest allowed 128 bit encryption to >> all your >> clients even if they use browsers that are limited to 40 bit > > encryption. > > Get a guide > > here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en > > _______________________________________________ > > Apc-aa-coders mailing list >> Apc...@li... >> https://lists.sourceforge.net/lists/listinfo/apc-aa-coders >> > > > >------------------------------------------------------- >This SF.NET email is sponsored by: FREE SSL Guide from Thawte >are you planning your Web Server Security? Click here to get a FREE >Thawte SSL guide and find the answers to all your SSL security issues. >http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en >_______________________________________________ >Apc-aa-coders mailing list >Apc...@li... >https://lists.sourceforge.net/lists/listinfo/apc-aa-coders -- Mitra Technology Consulting - www.mitra.biz - mi...@mi... 02-6684-8096 or 0414-648-0722 Life is a Mystery to be Lived, not a Problem to be Solved |