gettext extension install problem *solved* |
Site Admin
|
I'd recommend you to copy libintl-1.dll into Apache's directory.
|
||||||||||||
|
|
Have copied it over but the result is still the same. Is this a fault with apache or php, can I substitute the phped local version of php 4.4.1 into apache(currently version 4.4)?
|
||||||||||||
|
Site Admin
|
sorry, I messed with TechPlatform v5 that's still not released.
With v4 that's on the site you have to copy iconv.dll It is located in E:\Program Files\nusphere\TechPlat\apache\php\ and should be copied to E:\Program Files\nusphere\TechPlat\apache\ Alternatively you may want to include E:\Program Files\nusphere\TechPlat\apache\php into the PATH environment variable and reboot your machine. |
||||||||||||
|
|
Sorted thanks.
Having issues and trouble understanding how Gettext and php's gettext(); interact. Does php's gettext(); rely on GNU GetText to execute or are they separate entities? Can I setup dummy locale and language .mo and .po files to test the gettext(); function works correctly? Have tried already but appears to be failing gracefully, ie just outputs the enclosed message text and not the translation from message file. Cannot get GetText to execute xgettext to the correct path on a windows shell, do you know of any compatibility issues here? |
||||||||||||
|
Site Admin
|
I think the excerpt below taken from http://www.php.net/gettext relates to the problem you encountered
|
||||||||||||||
|
|
I have reconfigured my php.ini to enable gettext(); and have used GNU GetText to create my .po and .mo files.
I have all the message.po and .mo files appropriately structured and set my paths and lang variables to test gettext();, however without success. I think that i have a php configuring problem. What I want to know is: Will the install of the gettext.dll allow use of the translation files .mo alone? I.E. Does PHP provide the translating functionality independantly by calling the translation from the .mo files? or does PHP have to be configured to use GNU GetText functions directly to call the translation from the .mo. I read that the former was possible. |
||||||||||||
|
|
Having now worked on another linux based server and succeeded with gettext(); I have discovered that the techplatform php dlls or GetText extension dlls are either not configured correctly or incompatable.
What I need are the correct GetText dll extensions, paths and how to set them for the Techplatform on Windows XP. Thanks |
||||||||||||
|
Site Admin
|
I helped you with getting php_gettext loaded and used by php.
All questions on the beneath functionality could be considered with php_gettext authors. Please contact them for their help or submit bug to http://bugs.php.net/ gettext.c:
|
||||||||||||||
|
gettext extension install problem *solved* |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by