From: Tomas K. <to...@us...> - 2002-11-21 08:33:50
|
> Hmmm. I'm not the one who compiled php (might have been a rpm)... is > there a way to tell if it's there or not? > > Hmmm... phpinfo() tells me the configuration parameters went something > like > > './configure' '--with-mysql' '--with-apxs' > '--with-config-file-path=/usr/local/lib/php/' > > Can I thus assume I don't have said support? if you don't say that you need a thing, php configure decides that you don't need it and forces to recompile later. that's why manual php compilations and php compilations in some linux distros have configure command that is n lines long. and you are running unoptimized version. sm gettext translation is slow and cpu intensive. > If this is the case, I am more interested in whether or not File Manager > actually works the way it should, not in getting my gettext to work. > Does anyone out there use File Manager who definitely has gettext > compiled into php? If so, do pages like the Compose page show up in > your chosen language? 1. weather plugin. If you use function that is available in sm 1.2.9, check if such function exists (user can use sm 1.2.7 without function or 1.2.10cvs with such function). Don't try to use own function with the same name as sm has. Options -> Weather Fatal error: Cannot redeclare check_php_version() in /path/stable/src/global.php on line 53 Fast way to fix it is to change check_php_version() to weather_check_php_version() in three places. actually I've changed your functions to check_php_version2() while testing. London,UK was recognized correctly. I've tried switching of dns, but it worked :), maybe name was already stored somewhere in apache or you fixed that to. 2. file manager is working. Lithuanian version attached in fm_lt_LT.tar.gz. If you try to recompile this locale you'll get warning about incompatible charset. gettext does not like windows-1257. You can rename it to iso-8859-13, if you want. All the characters that are used in translation are in the same places. But iso-8859-13 charset is not compatible with IE6 browser and SM 1.2.10cvs uses windows-1257 charset in order to avoid the bug. file_manager.po template has msdos line endings (LF+CR). unix uses only LF. and lf+cr files does not look nice in some editors (lots of ^M). I've attached file_manager.po.gz without cr symbols. 3. cc :( imagine that you get two copies of daily magazine in your real mailbox. One comes to you as a subscription, another you get as a promotion to devoted paper's reader. Please don't do that to me. -- Tomas |