I18n EveryWhere v1.0
Provides convenient localization features to reduce the burden on authors and provide centralized coverage.
Keeps authors from being overwhelmed by
– Self-implemented language file loading
– Handling different text encodings
Usage:
– Create a new “lang” folder in the mod folder.
– Add localization json, like en-US.json, zh-HANS.json.
Example (zh-HANS.json)
{
“Options.SECTION[I18nEveryWhere.I18nEveryWhere.Mod]”: “国际化”, “Options.TAB[I18nEveryWhere.I18nEveryWhere.Mod.General]”: “通用”, “Options.OPTION[I18nEveryWhere.I18nEveryWhere.Mod.Setting.Overwrite]”: “重写”, “Options.OPTION_DESCRIPTION[I18nEveryWhere.I18nEveryWhere.Mod.Setting.Overwrite]”: “使用模组内置的语言覆盖原本的语言”
}