Skip to content

Latest commit

 

History

History
41 lines (34 loc) · 1.48 KB

File metadata and controls

41 lines (34 loc) · 1.48 KB

Translations

This is the translation mappings for mspaint. Languages.json contains the mappings of all the languages available.

Contributing

Keep in mind that each file is named based on the IETF BCP 47 language tag standard. Please follow the conventions found in the translation files!

You can use one of the files in /translations/ as a template. You can create a PR to submit changes and add new language support. Please do not spam the PRs with spam.

Website

We created a website for people who do not understand the JSON formatting. This makes your translating job easier via a web ui. https://translations.mspaint.cc/

Testing

To test out your language in game, you can put the .json file in your executor's workspace folder and run this BEFORE loading mspaint:

getgenv().environment = "translator_env"
getgenv().overrideLanguage = "en"
getgenv().language = {
    ["en"] = {
        NativeName = "English",
        EnglishName = "English",
        Path = "file_in_executor_workspace.json"
    }
}

Missing translations are printed in the Developer console (F9, /console)

Language Info

Important

NativeName is the name of the language in the native language, example for french:

getgenv().language = {
    ["fr"] = {
        NativeName = "Français",
        EnglishName = "French",
        Path = "fr.json"
    }
}