| GNU gettext for Delphi, C++ Builder and Kylix 1.2 beta | ||
|---|---|---|
| <<< Previous | Dxgettext command-line tools reference | Next >>> |
This tool makes it possible to create a po file from an ascii tabulated text file. It does not support multiline msgstr values. In order to use it, it must conform to these rules:
Be an utf-8 encoded text file
It may not contain any header lines etc.
It must contain exactly two columns, separated by a tabulator (ascii 9), where the first column contains the msgid, and the second column contains the msgstr.
If you have something in tabular form that you want to convert to a po file, do it like this:
Load the tabulated data into a spreadsheet. If you don't have a spreadsheet on your computer, get it at openoffice.org.
Delete all columns except the two that contain msgid and msgstr. Make sure the first column is msgstr.
Delete all rows that do not contains data to be converted.
Save the file as a text-file, tabulator separated with no text delimiters.
Load the text file into an utf-8 capable text editor like Unired.
Save the text file as an utf-8 text file with "no BOM".
Run
msgimport textfile.txt -o output.po |
| <<< Previous | Home | Next >>> |
| ixtopo | Up | msgmergePOT |