JSON files

How to translate .json files

JSON (JavaScript Object Notation) is a lightweight data-interchange format.  JSON is a text format that is completely language independent but uses conventions that are familiar to programmers of the C-family of languages, including C, C++, C#, Java, JavaScript, Perl, Python, and many others.

Use a simple json file for your translations. The file which you wish to translate should not contain html tags.

Text United enables a user to upload JSON files for translation or to store them in a GITHUB or Bitbucket repository which can be connected to Text United. In this case Text United can look up the files for translation.

  • Make sure you follow JSON's syntax properly. For example, always use double quotes, always quotify your keys, and remove all callback functions.

  • Comments in .json files are not allowed

JSON is built on two structures:

  • A collection of name/value pairs. In various languages, this is realized as an object, record, struct, dictionary, hash table, keyed list, or associative array.

  • An ordered list of values. In most languages, this is realized as an array, vector, list, or sequence.

Official json documentation