Hi, I'm trying to create multi-language web pages using 'gettext' with PHP but am stuck alittle. I've searched the web without joy so I thought I'd ask.
My problem lies in between the .po and .mo files. After using xgettext to extract the text strings into a .po file I don't know exactly how to translate that 'english' text. How do I translate a .po file ? I sure I'm missing something simple. Here is a small example from a .po file: # page1.php:3 msgid "Hello this is a web page" msgstr "" I understand this is my base or root .po file ( messages.po is full name ). How do I go about translating the msgid string into the msgstr string ? So far my thinking is once I've translated the msgid strings into the msgid strings then I create my .mo ( messages.mo ) files. Is that correct ? Do I now need some other translating program so that I can actually turn the English text into other language text ? It feels like I'm missing one last tiny part to the puzzle. Once I've understand this last part I'll be the happiest web developer out there :-) Thanks very much. Cheers Rudi. -- PHP Internationalization Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php