Translations From JSON (Godot 4.x)

An asset by AliYil
The page banner background of a mountain and forest
Translations From JSON (Godot 4.x) hero image

Quick Information

0 ratings
Translations From JSON (Godot 4.x) icon image
AliYil
Translations From JSON (Godot 4.x)

A Godot plugin for importing JSON files for translations.Usage:1. Install the plugin into your project and activate it.2. Add JSON translations files into your project in .json format.3. Make sure the JSON files are imported as "JSON Translation".4. Add your JSON files to translations using Project Settings > Localization > Translations > Add (Change "All Recognized" to "All files (*)" to see the JSON file)JSON FormatThe json data in file must be an object with locale and messages keys."locale" field signify which locale the texts are in."message" field must be an object that contains keys and corresponding text as string value.Example JSON{ "locale": "en", "messages": { "HELLOWORLD": "Hello world!", "ANOTHERTEXT": "This is another text." }}

Supported Engine Version
4.0
Version String
2.0
License Version
MIT
Support Level
community
Modified Date
11 months ago
Git URL
Issue URL

Translations From JSON for Godot 4.x

A Godot plugin for importing JSON files for translations.

This is the Godot 4.x version of the plugin. If you want to use it on 3.x, head over to the 3.x branch.

Usage

  1. Install the plugin into your project and activate it.
  2. Add JSON translations files into your project in .json format.
  3. Make sure the JSON files are imported as "JSON Translation".
  4. Add your JSON files to translations using Project Settings > Localization > Translations > Add (Change "All Recognized" to "All files (*)" to see the JSON file)

JSON Format

The json data in file must be an object with locale and messages keys.

  • "locale" field signify which locale the texts are in.
  • "message" field must be an object that contains keys and corresponding text as string value.

Example JSON

{
    "locale": "en",
    "messages": {
        "HELLOWORLD": "Hello world!",
        "ANOTHERTEXT": "This is another text."
    }
}

A Godot plugin for importing JSON files for translations.

Usage:
1. Install the plugin into your project and activate it.
2. Add JSON translations files into your project in .json format.
3. Make sure the JSON files are imported as "JSON Translation".
4. Add your JSON files to translations using Project Settings > Localization > Translations > Add (Change "All Recognized" to "All files (*)" to see the JSON file)

JSON Format
The json data in file must be an object with locale and messages keys.

"locale" field signify which locale the texts are in.
"message" field must be an object that contains keys and corresponding text as string value.

Example JSON
{
"locale": "en",
"messages": {
"HELLOWORLD": "Hello world!",
"ANOTHERTEXT": "This is another text."
}
}

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Translations From JSON (Godot 4.x) icon image
AliYil
Translations From JSON (Godot 4.x)

A Godot plugin for importing JSON files for translations.Usage:1. Install the plugin into your project and activate it.2. Add JSON translations files into your project in .json format.3. Make sure the JSON files are imported as "JSON Translation".4. Add your JSON files to translations using Project Settings > Localization > Translations > Add (Change "All Recognized" to "All files (*)" to see the JSON file)JSON FormatThe json data in file must be an object with locale and messages keys."locale" field signify which locale the texts are in."message" field must be an object that contains keys and corresponding text as string value.Example JSON{ "locale": "en", "messages": { "HELLOWORLD": "Hello world!", "ANOTHERTEXT": "This is another text." }}

Supported Engine Version
4.0
Version String
2.0
License Version
MIT
Support Level
community
Modified Date
11 months ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers