Convert ANDROIDSTRINGS to JSON

Turn ANDROIDSTRINGS files into JSON. JSON for agents with the source and target languages and one object per entry holding its context, source and plural source, translation or plural forms, state, notes, comments, source references, flags and an obsolete mark.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

Android strings, ready for translation.One JSON file with a list of entries, one for each string in your resources.

  1. What you get

    A single JSON file made for agents. It holds the source and target languages, and one object per entry. Each object carries its context, source and plural source, translation or plural forms, state, notes, comments, source references, flags and an obsolete mark.

    Strings, plurals and string-array items become the source text. Their names are kept as contexts, so each entry still says where it came from.

  2. What is skipped

    Strings marked translatable="false" are skipped. They do not appear in the JSON, so nothing is sent for translation that should stay as it is.

ANDROIDSTRINGS and JSON.What each format is.

The formats

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

JSON

JSON, the data format of every API.

Extensions
.json
MIME type
application/json
Kind
Text and data

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

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

Questions.What people ask about ANDROIDSTRINGS to JSON.

01OF 04

Each entry holds its context, source, plural source, translation or plural forms, state, notes, comments, source references, flags and an obsolete mark.

Yes. Strings, plurals and string-array items all become source text, with their names as contexts.

No. They are skipped.

The conversion gives one file as output. To combine JSON files afterward, you can merge JSON.

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