I\'m trying to find a way to use 开发者_运维技巧gettext and friends without depending on the official gettext module, which I\'ve found to not be installed everywhere and sometimes yields different re
The following example works on Mac OS X with Apache, i.e. I get the translated string echoed back. But on Ubuntu with lighttpd I get the original text \'Inactive account\'. I\'ve tried all sorts of co
I\'m facing an odd issue with gettext in my PHP application. It works on my development machines (Ubuntu 10.10 32 bit, 2 x Windows 7 64 bit, 开发者_如何学运维Windows 7 32 bit, all running XAMPP).
I have a .po and a .mo file in a folder whose address is /locale/nld_nld/LC_MESSAGES/. Both the files\' names are messages. I\'ve been trying to use the following code:
I\'m developing a webapp with PHP and Smarty. I use gettext to internationalize, but I\'ve a problem: it only works sometimes, absolutly randomly. I load a locale (\'de_DE\', by example) with putenv+s
I\'ve been learning a bit of gettext but I can\'t grasp those two functions. I\'ve been wondering if I could use multiple translations in a APP written in PHP. Fo开发者_运维百科r an instance, I\'ve 1)
My current implementation, which is array based stores keys and values in a dictionary, example: $arr = array(