Convert CSV to PO

Turn CSV files into PO. A gettext PO file with each entry's context, source text and plural source, translation or plural forms, notes, translator comments, source references, flags and fuzzy mark, obsolete entries as #~ lines, and a header with the language and its plural rule.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop CSV files on the dialor turn it to pick what to do

A translation catalog built from a table.Each row becomes a PO entry, with its context, notes and flags.

  1. What you get

    One Gettext PO file. Each entry carries its context, source text and plural source, and its translation or plural forms.

    Notes, translator comments, source references and flags come across too. The fuzzy mark stays on the entries that have it, and obsolete entries are written as #~ lines.

    The file starts with a header that holds the language and its plural rule.

  2. What the header leaves empty

    A CSV table names no language, so the language in the header is left empty. Fill it in after the conversion, or in your translation tool.

    The plural rule is set only for entries with one or two forms. Entries with more forms get no rule, so add it yourself if your language needs one.

CSV and PO.What each format is.

The formats

From · CSV

CSV

Rows of comma-separated values. The plainest way to move a table between programs.

Extensions
.csv
MIME type
text/csv
Kind
Text and data
To · PO

Gettext PO

Gettext translation catalogs and .pot templates, with each message's context, plural forms, notes and fuzzy mark.

Extensions
.po .pot
MIME type
text/x-gettext-translation
Kind
Text and data

In your code.The same CSV to PO conversion through the API, for your app or your agent.

terminal
$ cv convert sheet.csv sheet.po
$ cv convert sheet.csv sheet.po

Questions.What people ask about CSV to PO.

01OF 04

Yes. Each entry keeps its plural source and its plural forms. The header sets a plural rule only for entries with one or two forms.

The CSV table does not name a language, so there is nothing to put there. The language is left empty.

Yes. The fuzzy mark stays on its entry, and obsolete entries are written as #~ lines.

The PO format covers both .po catalogs and .pot templates. The conversion gives you one file.

More conversions.Other ways in and out of CSV and PO.