JSON Localization

Quite a lot JavaScript libraries or frameworks exist for localizing an application. Therefore we have defined a standard JSON format.

Use a simple json file to define your translations.


  • The json file is used.
  • To write a valid JavaScript object (hash), the key does not need to be quoted.
    However, in a valid json file, key and value have to be quoted.
  • The placeholder syntax is “{{placeholder}}”.
  • The file can have a flat or hierarchical structure (see examples below).
  • comments for segments can be added in the format
    “_<key of the associated segment>.comment=…”


Additional example files can be accessed here.

    "title": "Titel",
    "body.paragraph": "Dies ist ein Paragraph.",
    "users.form.submit": "Speichern",
    "users.salutation": "Hallo {{name}}"
[was-this-helpful theme=9]