Translating plugins. Gettext. Po-files.
-
Hi
Plugin translation issue, gettext, character sets
I need to translate a plugin, that has a lot of .po and .mo files in a directory called gettext. There also a .pot file. I have now translated everything (written a translation in msgstr for each msgid). Next I would need to create those .mo files. How do I do this?
When I run xgettext ec3-fi_FI.po, I get error messages: “invalid multibyte sequence” for each and every “national character”.
What now? What is that .pot file? Do I need it for something? How do I make these national characters “not invalid”?
I don’t know what character sets my web hotel (Debian) or my OS (Windows Vista/Ubuntu) uses. The characters show correctly in vi, gedit, notepad.
This has something to do with ISO-8859-1 and UTF-8
- The topic ‘Translating plugins. Gettext. Po-files.’ is closed to new replies.