EmulatorJS/data/localization
Allan Niles 0c9107c990
Squashed commit of the following:
commit a70811c175
Merge: 86081d4 ce15c9b
Author: Allan Niles <allancoding.dev@gmail.com>
Date:   Fri May 16 11:48:29 2025 -0600

    Merge branch 'upstream/main' into screenshot

commit 86081d435d
Author: Allan Niles <allancoding.dev@gmail.com>
Date:   Wed May 14 10:07:27 2025 -0600

    no no

commit 9e2a5d2aab
Merge: eeeaa5c f70e897
Author: Allan Niles <allancoding.dev@gmail.com>
Date:   Wed May 14 09:54:30 2025 -0600

    Merge 'main-upstream' into screenshot

commit eeeaa5cb4e
Author: Allan Niles <allancoding.dev@gmail.com>
Date:   Wed May 14 09:52:06 2025 -0600

    normalize "

commit 92a772d3e1
Author: Allan Niles <allancoding.dev@gmail.com>
Date:   Wed May 14 09:28:47 2025 -0600

    change to this.capture

commit 74fe692129
Author: Allan Niles <allancoding.dev@gmail.com>
Date:   Mon May 12 15:06:38 2025 -0600

    retroarch if 0

commit 73ade64626
Author: Allan Niles <allancoding.dev@gmail.com>
Date:   Mon May 12 14:47:41 2025 -0600

    takeScreenshot

commit e03a2807ca
Author: Allan Niles <allancoding.dev@gmail.com>
Date:   Mon May 12 14:33:47 2025 -0600

    Screen Record

commit 057a644e51
Author: Allan Niles <allancoding.dev@gmail.com>
Date:   Sat May 10 21:11:35 2025 -0600

    screenShot function

commit ba27a6c231
Author: Allan Niles <allancoding.dev@gmail.com>
Date:   Fri May 9 22:34:35 2025 -0600

    nice screenshots

commit db1c2ddbfe
Author: Allan Niles <allancoding.dev@gmail.com>
Date:   Fri May 9 17:50:11 2025 -0600

    newline

commit 888adec7f9
Merge: 62cc259 3794c08
Author: Allan Niles <allancoding.dev@gmail.com>
Date:   Fri May 9 17:48:34 2025 -0600

    Merge branch 'upstream/main' into screenshot

commit 62cc259038
Author: Allan Niles <allancoding.dev@gmail.com>
Date:   Fri May 2 18:23:55 2025 -0600

    screenshot
2025-05-19 17:13:08 -06:00
..
af-FR.json Squashed commit of the following: 2025-05-19 17:13:08 -06:00
ar-AR.json Add newline workflow (#1002) 2025-04-30 11:04:01 -05:00
ben-BEN.json Add newline workflow (#1002) 2025-04-30 11:04:01 -05:00
de-GER.json Update de-GER.json (#828) 2024-04-28 21:22:08 -05:00
el-GR.json Add newline workflow (#1002) 2025-04-30 11:04:01 -05:00
en-US.json Squashed commit of the following: 2025-05-19 17:13:08 -06:00
es-ES.json Squashed commit of the following: 2025-05-19 17:13:08 -06:00
fa-AF.json Squashed commit of the following: 2025-05-19 17:13:08 -06:00
hi-HI.json Add newline workflow (#1002) 2025-04-30 11:04:01 -05:00
it-IT.json Added Italian translation (#831) 2024-04-30 11:23:00 -05:00
ja-JA.json Update ja-JA.json 2025-04-06 17:50:20 +09:00
jv-JV.json Add newline workflow (#1002) 2025-04-30 11:04:01 -05:00
ko-KO.json Fix key 2025-05-16 11:29:50 -05:00
pt-BR.json Add button gamepad naming (#637) 2023-08-26 15:29:31 -06:00
README.md Update localizations (#987) 2025-04-28 10:13:31 -06:00
retroarch.json Update localizations (#987) 2025-04-28 10:13:31 -06:00
ru-RU.json Add newline workflow (#1002) 2025-04-30 11:04:01 -05:00
tr-TR.json Squashed commit of the following: 2025-05-19 17:13:08 -06:00
vi-VN.json Create vi-VN.json (#819) 2024-04-16 08:53:14 -05:00
zh-CN.json Add newline workflow (#1002) 2025-04-30 11:04:01 -05: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
it-IT - Italian
tr-Tr - Turkish
fa-AF - Persian
ro-RO - Romanian

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 pt-BR by @zmarteline
Translated for zh-CN by @eric183
Translated for pt-BR by @zmarteline
Translated for it-IT by @IvanMazzoli
Translated for tr-Tr by @iGoodie
Translated for fa-AF by @rezamohdev
Translated for af-FR by @t3chnob0y
Translated for ro-RO by @jurcaalexandrucristian
Translated for ja-JA by @noel-forester
Translated for hi-HI, ar-AR, jv-JV, ben-BEN, ru-RU, de-GER, ko-KO by @allancoding, using a translate application

Contributing

To contribute, please download the default en-US.json language file to use as a template, translate the strings and then submit the file with a Pull Request or Issue.

The EmulatorJS team will review and add your changes.

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 mapping translations 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-US.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!