RetroArch/intl
2021-01-21 21:28:10 +01:00
..
.gitignore
crowdin_sync.py Read Crowdin API key from GitHub Secrets 2020-08-21 21:16:52 +03:00
crowdin.yaml Read Crowdin API key from GitHub Secrets 2020-08-21 21:16:52 +03:00
fetch_progress.py
googleplay_ar.json Fetch translations from Crowdin 2020-08-24 23:13:16 +03:00
googleplay_ast.json
googleplay_chs.json Improve Crowdin scripts and fetch translations 2020-08-07 22:46:17 +03:00
googleplay_cht.json
googleplay_da.json Fetch translations from Crowdin 2020-07-14 12:03:29 +03:00
googleplay_de.json Fetch translations from Crowdin 2021-01-09 12:04:24 +08:00
googleplay_el.json Fetch translations from Crowdin 2020-09-19 16:54:44 +03:00
googleplay_es.json
googleplay_fa.json
googleplay_fi.json Fetch translations from Crowdin 2020-08-24 23:13:16 +03:00
googleplay_fr.json
googleplay_gl.json Fetch translations from Crowdin 2020-07-31 10:50:17 +03:00
googleplay_he.json
googleplay_hu.json Fetch translations from Crowdin 2020-08-24 23:13:16 +03:00
googleplay_id.json Fetch translations from Crowdin 2021-01-09 12:04:24 +08:00
googleplay_it.json Fetch translations from Crowdin 2021-01-09 12:04:24 +08:00
googleplay_ja.json
googleplay_ko.json Fetch translations from Crowdin 2020-09-19 16:54:44 +03:00
googleplay_nl.json
googleplay_pl.json Fetch translations from Crowdin 2020-11-23 22:54:07 +08:00
googleplay_pt_br.json
googleplay_pt_pt.json Fetch translations from Crowdin 2020-09-19 16:54:44 +03:00
googleplay_ru.json Fetch translations from Crowdin 2020-08-24 23:13:16 +03:00
googleplay_sk.json Fetch translations from Crowdin 2020-08-24 23:13:16 +03:00
googleplay_sv.json Fetch translations from Crowdin 2020-07-14 12:03:29 +03:00
googleplay_tr.json Fetch translations from Crowdin 2020-07-14 12:03:29 +03:00
googleplay_uk.json Fetch translations from Crowdin 2020-09-19 16:54:44 +03:00
googleplay_us.json
googleplay_vn.json
h2json.py Improve Crowdin scripts and fetch translations 2020-08-07 22:46:17 +03:00
json2h.py Remove _LANG_ strings that should not be translated 2020-08-01 17:50:52 +03:00
msg_hash_ar.c
msg_hash_ar.h Fetch translations from Crowdin 2021-01-09 12:04:24 +08:00
msg_hash_ast.c
msg_hash_ast.h Fetch translations from Crowdin 2021-01-09 12:04:24 +08:00
msg_hash_chs.c
msg_hash_chs.h Fetch translations from Crowdin 2021-01-09 12:04:24 +08:00
msg_hash_cht.c
msg_hash_cht.h Fetch translations from Crowdin 2021-01-09 12:04:24 +08:00
msg_hash_da.h Fetch translations from Crowdin 2021-01-09 12:04:24 +08:00
msg_hash_de.c
msg_hash_de.h Fetch translations from Crowdin 2021-01-09 12:04:24 +08:00
msg_hash_el.c
msg_hash_el.h Fetch translations from Crowdin 2021-01-09 12:04:24 +08:00
msg_hash_eo.c
msg_hash_eo.h Fetch translations from Crowdin 2021-01-09 12:04:24 +08:00
msg_hash_es.c
msg_hash_es.h Fetch translations from Crowdin 2021-01-09 12:04:24 +08:00
msg_hash_fa.c
msg_hash_fa.h Fetch translations from Crowdin 2021-01-09 12:04:24 +08:00
msg_hash_fi.c intl: Add Finnish language 2020-12-05 22:10:29 +01:00
msg_hash_fi.h Fetch translations from Crowdin 2021-01-09 12:04:24 +08:00
msg_hash_fr.c
msg_hash_fr.h Fetch translations from Crowdin 2021-01-09 12:04:24 +08:00
msg_hash_gl.h Fetch translations from Crowdin 2021-01-09 12:04:24 +08:00
msg_hash_he.c
msg_hash_he.h Fetch translations from Crowdin 2021-01-09 12:04:24 +08:00
msg_hash_hu.h Fetch translations from Crowdin 2021-01-09 12:04:24 +08:00
msg_hash_id.h Fetch translations from Crowdin 2021-01-09 12:04:24 +08:00
msg_hash_it.c
msg_hash_it.h Fetch translations from Crowdin 2021-01-09 12:04:24 +08:00
msg_hash_ja.c
msg_hash_ja.h Fetch translations from Crowdin 2021-01-09 12:04:24 +08:00
msg_hash_ko.c
msg_hash_ko.h Fetch translations from Crowdin 2021-01-09 12:04:24 +08:00
msg_hash_lbl.h Enable configuration of directory for Favorites, History, Images, Music and Video playlists 2021-01-21 21:28:10 +01:00
msg_hash_nl.c
msg_hash_nl.h Fetch translations from Crowdin 2021-01-09 12:04:24 +08:00
msg_hash_pl.c
msg_hash_pl.h Fetch translations from Crowdin 2021-01-09 12:04:24 +08:00
msg_hash_pt_br.c
msg_hash_pt_br.h Fetch translations from Crowdin 2021-01-09 12:04:24 +08:00
msg_hash_pt_pt.c
msg_hash_pt_pt.h Fetch translations from Crowdin 2021-01-09 12:04:24 +08:00
msg_hash_ru.c (RGUI) Add Russian language support 2021-01-13 10:00:51 +00:00
msg_hash_ru.h Fetch translations from Crowdin 2021-01-09 12:04:24 +08:00
msg_hash_sk.c
msg_hash_sk.h Fetch translations from Crowdin 2021-01-09 12:04:24 +08:00
msg_hash_sv.h Fetch translations from Crowdin 2021-01-09 12:04:24 +08:00
msg_hash_tr.c
msg_hash_tr.h Fetch translations from Crowdin 2021-01-09 12:04:24 +08:00
msg_hash_uk.h Fetch translations from Crowdin 2021-01-09 12:04:24 +08:00
msg_hash_us.c Enable configuration of directory for Favorites, History, Images, Music and Video playlists 2021-01-21 21:28:10 +01:00
msg_hash_us.h Enable configuration of directory for Favorites, History, Images, Music and Video playlists 2021-01-21 21:28:10 +01:00
msg_hash_vn.c
msg_hash_vn.h Fetch translations from Crowdin 2021-01-09 12:04:24 +08:00
progress.h Fetch translations from Crowdin 2021-01-09 12:04:24 +08:00
README.md Add instruction to create new languages 2020-08-24 23:17:13 +03:00
steam_ar.json Fetch translations from Crowdin 2020-08-24 23:13:16 +03:00
steam_ast.json Fetch translations from Crowdin 2020-11-23 22:54:07 +08:00
steam_chs.json Fetch translations from Crowdin 2020-07-14 12:03:29 +03:00
steam_cht.json
steam_da.json Fetch translations from Crowdin 2020-07-14 12:03:29 +03:00
steam_de.json Fetch translations from Crowdin 2021-01-09 12:04:24 +08:00
steam_el.json Fetch translations from Crowdin 2020-08-24 23:13:16 +03:00
steam_es.json Fetch translations from Crowdin 2020-07-14 12:03:29 +03:00
steam_fa.json
steam_fi.json Fetch translations from Crowdin 2020-11-23 22:54:07 +08:00
steam_fr.json
steam_gl.json Fetch translations from Crowdin 2020-08-24 23:13:16 +03:00
steam_he.json
steam_hu.json Fetch translations from Crowdin 2020-08-24 23:13:16 +03:00
steam_id.json Fetch translations from Crowdin 2021-01-09 12:04:24 +08:00
steam_it.json Fetch translations from Crowdin 2021-01-09 12:04:24 +08:00
steam_ja.json Fetch translations from Crowdin 2020-08-24 23:13:16 +03:00
steam_ko.json Fetch translations from Crowdin 2020-09-19 16:54:44 +03:00
steam_nl.json
steam_pl.json Fetch translations from Crowdin 2021-01-09 12:04:24 +08:00
steam_pt_br.json Fetch translations from Crowdin 2020-08-24 23:13:16 +03:00
steam_pt_pt.json
steam_ru.json Fetch translations from Crowdin 2020-08-24 23:13:16 +03:00
steam_sk.json
steam_sv.json Fetch translations from Crowdin 2020-07-14 12:03:29 +03:00
steam_tr.json Fetch translations from Crowdin 2020-08-24 23:13:16 +03:00
steam_uk.json Fetch translations from Crowdin 2020-09-19 16:54:44 +03:00
steam_us.json
steam_vn.json

Internationalization Workflow

For Translators

Use Crowdin

  1. Register user account at https://crowdin.com/
  2. Join the project https://crowdin.com/project/retroarch/
  3. Select your language to translate
  4. Click the file name msg_hash_us.json and the editor should open
  5. Select an untranslated (red) string from the list
  6. Type translation and save
  7. Next string...

Links:

Request New Language

You can open a new issue and @guoyunhe to add new language.

For Maintainers

Set Up

Install Java, Python3 and Git

Synchronize

cd intl
python3 crowin_sync.py

Manage Crowdin Project

  1. You need to be project admin. Please contact @guoyunhe or @twinaphex
  2. Go to https://crowdin.com/project/retroarch/settings
  3. You can manage languages, members etc. here

Links:

Message File Format

  1. Must NOT contain #else
  2. Must NOT have multiple-line string syntax
    // bad
    MSG_HASH(
      MENU_ENUM_SUBLABEL_CHEEVOS_ENABLE,
      "Compete to earn custom-made achievements in classic games.\n"
      "For more information, visit http://retroachievements.org"
      )
    // good
    MSG_HASH(
      MENU_ENUM_SUBLABEL_CHEEVOS_ENABLE,
      "Compete to earn custom-made achievements in classic games.\nFor more information, visit http://retroachievements.org"
      )
    
  3. Must NOT contain lowercase letters in key name
    // bad (x)
    MSG_HASH(
      MENU_ENUM_LABEL_VALUE_CTR_VIDEO_MODE_2D_800x240,
      "2D (High Resolution)"
      )
    // good (X)
    MSG_HASH(
      MENU_ENUM_LABEL_VALUE_CTR_VIDEO_MODE_2D_800X240,
      "2D (High Resolution)"
      )
    

Add New Languages

  1. Go to Crowdin and add the language
  2. Run Crowdin script to download new translations
  3. Add new language into menu (see #10787)