EmulatorJS/data/localization/readme.md
2024-05-06 18:34:30 -05:00

2.3 KiB

Localization

Supported languages

en-US - English US
pt-BR - Portuguese
es-ES - Spanish
el-GR - Greek
ja-JA - Japanese
zh-CN - Chinese
hi-HI - Hindi
ar-AR - Arabic
jv-JV - Javanese
ben-BEN - Bengali
ru-RU - Russian
de-GER - German
ko-KO - Korean
af-FR - French
it-IT - Italian

default: en-US

add the line to your code to use

EJS_language = ''; //language

If the language file is not found or there was an error fetching the file, the emulator will default to english.

Credits

Translated for es-ES originally by @cesarcristianodeoliveira and updated by @angelmarfil
Translated for el-GR by @imneckro
Translated for ja-JA, hi-HI, ar-AR, jv-JV, ben-BEN, ru-RU, de-GER, ko-KO, af-FR by @allancoding
Translated for pt-BR originally by @allancoding and updated by @zmarteline
Translated for zh-CN originally by @allancoding and updated by @eric183
Translated for pt-BR originally by @allancoding and updated by @zmarteline
Translated for it-IT by @IvanMazzoli

Contributing

Download the default en.json file and simply translate all the words that start with the - (remove the dash afterwards) then perform a pull request or open an issue with the file uploaded and I will add your work.

The retroarch.json are all the setting names for the menu. They will default to english if not found. You can set EJS_settingsLanguage to true to see the missing retroarch settings names for the current language. You can translate them and add the to the language file.

The control maping traslations for controllers are diffrent for each controller. They will need to be added to the language file if they are not in the default en.json file.

You can also use the Translation Helper tool to help you translate the file.

Please contribute!!

Enything that is incorrect or needs to be fix please perform a pull request!