From: Jeff D. <da...@da...> - 2001-05-31 18:07:39
|
Hi Jan, Thank you for the fixes. I've checked them in to the CVS main branch. (I have not back-ported any of your translation fixes to the stable branch of the CVS --- should they be?) (I've massaged a couple of your gettext()ification a bit. You might want to take a look to see that you still like them.) >Here's a Dutch translation update, together with internationalisation >fixes, so that gettext () actually works again. Please don't change >the setlocale ()/putenv ("=3D$LANG") stuff without checking with the >translators, as php4's gettext implementation is shaky and apparently >not really portable. It's the "alpha" branch. The system is working as it should: Someone m= akes changes (that work for him, on the systems he has access to), and others = tell him if it's broken. My changes (which worked on the systems I have access to) were an attempt to keep the localization config information in system environment variables. This is, I think, a good idea, since it's the normal way to do things. (On some systems, the environment variables might already be set correctly, and require no adjustment by the phpwiki administrator. Who knows?) That said --- getting the locale stuff to work seems to be highly system dependent. What works seems depends on: * PHP version and configuration * OS type/version * libc type/version * who knows what else? "We" should probably make a concerted effort to come up with a language selection scheme which works reliably on as wide a range of systems as possible. (Perhaps we need to construct a robust test program and/or start a page on the wiki for test reports of what does and does not work.= ) Jeff |