php-gettext
How to use compiled gettext .mo files without the gettext module?
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[详细]
2023-02-24 03:34 分类:问答Can't get gettext (php) on Ubuntu working
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[详细]
2023-02-16 11:56 分类:问答gettext working locally, but not on the host server
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).[详细]
2023-02-16 07:31 分类:问答How to use po/pot files with php?
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:[详细]
2023-02-04 09:47 分类:问答Gettext (i18n) and Smarty running erraticly
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[详细]
2023-01-15 20:41 分类:问答What is bindtextdomain, textdomain in gettext?
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)[详细]
2022-12-15 10:07 分类:问答Gettext: Translation of strings with HTML inside?
My current implementation, which is array based stores keys and values in a dictionary, example: $arr = array([详细]
2022-12-13 18:00 分类:问答