go-i18n

i18next is a JavaScript translation library for websites and JavaScript apps

go-i18n v1

go-i18n v1 is a JavaScript translation library for Go apps.

To localize a Go app go-i18n v1 is using a custom JSON format that you can either import and export manually on the dashboard or you can automate your go-i18n app translation process with the GL Strings Localization CLI.

Website: https://github.com/nicksnyder/go-i18n

File Extension
.json
CLI format key
go_i18n_json
CLI Supported
true
SDK Supported
false
String Description Supported
true
Pluralization Supported
false

Example:

[
  {
    "id": "empty_string_key",
    "translation": ""
  },
  {
    "id": "with_description_key",
    "translation": "This key has a description in some file-formats."
  },
  {
    "id": "with_line_break_key",
    "translation": "This key has a line break\nin it."
  },
  {
    "id": "nested_key.level_one_a.level_two",
    "translation": "A deeply nested key."
  },
  {
    "id": "nested_key.level_one_b",
    "translation": "A nested key."
  },
  {
    "id": "plural_key",
    "translation": {
      "one": "Plural key one",
      "other": "Plural key other",
      "zero": "Plural key zero"
    }
  },
  {
    "id": "array_key[0]",
    "translation": "first entry"
  },
  {
    "id": "array_key[1]",
    "translation": "second entry"
  },
  {
    "id": "array_key[2]",
    "translation": "third entry"
  },
  {
    "id": "simple_key",
    "translation": "Most basic translation."
  }
]