2023-07-03 16:37:43 +00:00
# Localization
Supported languages
`en-US` - English US< br >
2023-08-12 02:10:05 +00:00
`pt-BR` - Portuguese< br >
2023-07-03 16:37:43 +00:00
`es-ES` - Spanish< br >
`el-GR` - Greek< br >
`ja-JA` - Japanese< br >
`zh-CN` - Chinese< br >
`hi-HI` - Hindi< br >
`ar-AR` - Arabic< br >
`jv-JV` - Javanese< br >
`ben-BEN` - Bengali< br >
`ru-RU` - Russian< br >
`de-GER` - German< br >
`ko-KO` - Korean< br >
`af-FR` - French< br >
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.
2023-08-12 02:10:05 +00:00
## Credits
2023-07-03 16:37:43 +00:00
Translated for `es-ES` by [@cesarcristianodeoliveira ](https://github.com/cesarcristianodeoliveira ) < br >
Translated for `el-GR` by [@imneckro ](https://github.com/imneckro ) < br >
Translated for `ja-JA` , `hi-HI` , `ar-AR` , `jv-JV` , `ben-BEN` , `ru-RU` , `de-GER` , `ko-KO` , `af-FR` by [@allancoding ](https://github.com/allancoding ) < br >
2023-08-13 15:10:33 +00:00
Translated for `pt-BR` originally by [@allancoding ](https://github.com/allancoding ) and updated by [@zmarteline ](https://github.com/zmarteline )< br >
2023-07-03 16:37:43 +00:00
Translated for `zh-CN` originally by [@allancoding ](https://github.com/allancoding ) and updated by [@eric183 ](https://github.com/eric183 )< br >
2023-08-20 22:25:23 +00:00
Translated for `pt-BR` originally by [@allancoding ](https://github.com/allancoding ) and updated by [@zmarteline ](https://github.com/zmarteline ) < br >
2023-07-03 16:37:43 +00:00
2023-08-12 02:10:05 +00:00
## 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.
2023-07-03 16:37:43 +00:00
2023-08-12 02:10:05 +00:00
You can also use the [Translation Helper ](Translate.html ) tool to help you translate the file.
2023-07-03 16:37:43 +00:00
Please contribute!!
2023-08-12 02:10:05 +00:00
Enything that is incorrect or needs to be fix please perform a pull request!