Gettext configuration.
Posted: Thu Feb 09, 2006 9:35 am
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:
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.
Thanks
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:
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.
Thanks