EmulatorJS/data/localization
Allan Niles b1a069bb60
Add new options and update pt-BR.json (#612)
* add new options and update pt-BR.json

* add new options and update pt-BR.json

* Commit from GitHub Actions (Minify Code)

* fix adBlocked function

* Commit from GitHub Actions (Minify Code)

* add new option to adBlocked function

* Commit from GitHub Actions (Minify Code)

* fix the `start-clicked` function

* Commit from GitHub Actions (Minify Code)

* Clean up code

* Commit from GitHub Actions (Minify Code)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-13 09:10:33 -06:00
..
af-FR.json fix localization 2023-08-12 02:10:05 +00:00
ar-AR.json fix localization 2023-08-12 02:10:05 +00:00
ben-BEN.json fix localization 2023-08-12 02:10:05 +00:00
de-GER.json fix localization 2023-08-12 02:10:05 +00:00
el-GR.json fix localization 2023-08-12 02:10:05 +00:00
en.json fix localization 2023-08-12 02:10:05 +00:00
es-ES.json fix localization 2023-08-12 02:10:05 +00:00
hi-HI.json fix localization 2023-08-12 02:10:05 +00:00
ja-JA.json fix localization 2023-08-12 02:10:05 +00:00
jv-JV.json fix localization 2023-08-12 02:10:05 +00:00
ko-KO.json fix localization 2023-08-12 02:10:05 +00:00
pt-BR.json Add new options and update pt-BR.json (#612) 2023-08-13 09:10:33 -06:00
readme.md Add new options and update pt-BR.json (#612) 2023-08-13 09:10:33 -06:00
retroarch.json fix localization 2023-08-12 02:10:05 +00:00
ru-RU.json fix localization 2023-08-12 02:10:05 +00:00
Translate.html fix localization 2023-08-12 02:10:05 +00:00
zh-CN.json fix localization 2023-08-12 02:10:05 +00:00

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

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 by @cesarcristianodeoliveira
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

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.

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!