Simple example of i18n (Internationalization)

1

Attached Files

The following files have been attached to this tutorial:

.c3p

i18n-example.c3p

Download now 85.56 KB

Stats

280 visits, 345 views

Tools

Translations

This tutorial hasn't been translated.

License

This tutorial is licensed under CC BY 4.0. Please refer to the license text if you wish to reuse, share or remix the content contained within this tutorial.

Published on 13 Dec, 2023.

internationalization manuals

construct.net/en/make-games/manuals/construct-3/plugin-reference/internationalization

{
	"locale": "en-US",
	"strings": {
		"lang": "English",
		"test": "Hello {0} {1}"
	}
}

Locales

Currently, there are many supported international locale

locale lang lang-naive
en-US English English
en-GB English English
de-DE German Deutsch
fr-FR French Français
es-ES Spanish Español
it-IT Italian Italiano
ru-RU Russian русский
zh-CN Simplified Chinese 简体中文
zh-TW Traditional Chinese 繁體中文
ja-JP Japanese 日本語
ko-KR Korean 한국어
pt-BR Portuguese Portuguese
ar-SA Arabic العربية
hi-IN Hindi हिन्दी
tr-TR Turkish Türkçe

For the convenience of others, I also put a JSON format here for easy copying and pasting

[
    {
        "locale": "en-US",
        "lang": "English",
        "lang-naive": "English"
    },
    {
        "locale": "en-GB",
        "lang": "English",
        "lang-naive": "English"
    },
    {
        "locale": "de-DE",
        "lang": "German",
        "lang-naive": "Deutsch"
    },
    {
        "locale": "fr-FR",
        "lang": "French",
        "lang-naive": "Français"
    },
    {
        "locale": "es-ES",
        "lang": "Spanish",
        "lang-naive": "Español"
    },
    {
        "locale": "it-IT",
        "lang": "Italian",
        "lang-naive": "Italiano"
    },
    {
        "locale": "ru-RU",
        "lang": "Russian",
        "lang-naive": "русский"
    },
    {
        "locale": "zh-CN",
        "lang": "Simplified Chinese",
        "lang-naive": "简体中文"
    },
    {
        "locale": "zh-TW",
        "lang": "Traditional Chinese",
        "lang-naive": "繁體中文"
    },
    {
        "locale": "ja-JP",
        "lang": "Japanese",
        "lang-naive": "日本語"
    },
    {
        "locale": "ko-KR",
        "lang": "Korean",
        "lang-naive": "한국어"
    },
    {
        "locale": "pt-BR",
        "lang": "Portuguese",
        "lang-naive": "Portuguese"
    },
    {
        "locale": "ar-SA",
        "lang": "Arabic",
        "lang-naive": "العربية"
    },
    {
        "locale": "hi-IN",
        "lang": "Hindi",
        "lang-naive": "हिन्दी"
    },
    {
        "locale": "tr-TR",
        "lang": "Turkish",
        "lang-naive": "Türkçe"
    }
]
.C3P

i18n-example.c3p

Download now 85.56 KB
  • 0 Comments

Want to leave a comment? Login or Register an account!