Convert PO to ANDROIDSTRINGS

Turn PO files into ANDROIDSTRINGS. An Android strings.xml with one string per entry, named by the context or else the source text made into a resource name, plural entries as plurals with the language's quantities, entries named like days[0] gathered into string arrays, and notes as comments.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

A strings.xml built from your PO catalog.Each message becomes a resource, with plurals and arrays kept.

  1. What you get

    One Android strings.xml file. Each entry becomes one string, named by its context. If an entry has no context, the name is made from its source text.

    Plural entries become plurals with the quantities of the language. Entries named like days[0] are gathered into string arrays. Notes become comments.

  2. Untranslated entries

    Entries without a finished translation keep their source text. For entries that are translated, the translation is used and the source text is dropped.

  3. What it leaves behind

    Translator comments are dropped. Source references are dropped. Obsolete entries are dropped too.

PO and ANDROIDSTRINGS.What each format is.

The formats

From · 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
To · ANDROIDSTRINGS

Android Strings

Android strings.xml resources with strings, plurals and string arrays.

Extensions
.strings.xml
MIME type
application/x-android-strings+xml
Kind
Text and data

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

terminal
$ cv convert report.po report.strings.xml
$ cv convert report.po report.strings.xml

Questions.What people ask about PO to ANDROIDSTRINGS.

01OF 04

The context names the string. When an entry has no context, its source text is made into a resource name.

They become plurals with the quantities the language uses.

Yes. Entries named like days[0] are gathered into string arrays.

Yes. Notes become comments in the strings.xml file. Translator comments are dropped.

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