[i18n] Change encoding from ISO to UTF (Language problem)

Arminas g.arminas at gmail.com
Fri Feb 15 11:12:13 UTC 2008


Hi all,

I guess im writing to correct list.. So here is what I want to do: I
want to make all horde site based on UTF-8 encoding. So I guess I need
properly edit all my used locale's po file. So for example i need to
convert lithuanian locale lt_LT.po (with ISO-13 encoding) with same
strings, but in lt_LT.po with UTF-8 encoding. So here is what i do:
I download this xx_XX.po file from my server
Open with editor which has ability to change charakter encoding od the file
So i simply click change to "UTF-8", but i dont know anything about
*.po file's header. So here is my xx_XX header:

old one:
"Project-Id-Version: IMP 4.0-cvs\n"
"Report-Msgid-Bugs-To: dev at lists.horde.org\n"
"POT-Creation-Date: 2005-10-18 15:12+0200\n"
"PO-Revision-Date: 2004-11-29 18:38+0200\n"
"Last-Translator: Vilius Sumskas <vilius at lnk.lt>\n"
"Language-Team: Lithuanian <vilius at lnk.lt>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=ISO-8859-13\n"
"Content-Transfer-Encoding: 8bit\n"

How should look my new one? am i right? (take a look at the following)

"Project-Id-Version: IMP 4.0-cvs\n"
"Report-Msgid-Bugs-To: dev at lists.horde.org\n"
"POT-Creation-Date: 2005-10-18 15:12+0200\n"
"PO-Revision-Date: 2004-11-29 18:38+0200\n"
"Last-Translator: Vilius Sumskas <vilius at lnk.lt>\n"
"Language-Team: Lithuanian <vilius at lnk.lt>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

And i would like if anyone could explane me about theese 2 lines:
---
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
---
........


More information about the i18n mailing list