Convert STRINGS to JSON
Turn STRINGS 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 STRINGS files on the dialor turn it to pick what to do
A JSON file of every string and its details.Each entry in the strings file becomes one object in a single JSON file.
What you get
One JSON file for the whole strings file. It holds the source and target languages, followed by one object per entry.
Each object carries the entry's context, its source and plural source, its translation or plural forms, and its state. Notes, comments, source references, flags and an obsolete mark are kept in the object too.
Why JSON
The result is plain JSON, so a script, an API or an agent can read each string together with the details around it. You do not need to parse the line format of a strings file.
To work with the result further, see every JSON conversion. To combine several results into one file, use merge JSON.
STRINGS and JSON.What each format is.
The formats
Apple Strings
Localizable.strings files of iOS and macOS apps, one "key" = "value"; line per string.
- Extensions
- .strings
- MIME type
- text
/x -apple -strings - Kind
- Text and data
JSON
JSON, the data format of every API.
- Extensions
- .json
- MIME type
- application
/json - Kind
- Text and data
In your code.The same STRINGS to JSON conversion through the API, for your app or your agent.
$ cv convert report.strings report.json$ cv convert report.strings report.jsonQuestions.What people ask about STRINGS to JSON.
Each entry becomes an object. It holds the context, source, plural source, translation or plural forms, state, notes, comments, source references, flags and an obsolete mark.
You get one file. All entries are in that one JSON file, along with the source and target languages.
Yes. Notes and comments are kept in each entry's object, next to its source references and flags.
Yes. An entry holds its plural source and its plural forms, next to the other details.