RetroArch/intl
Ophidon 7b711214a7
Slang Subframe Shaders Feature (#16209)
Adds support for sub-frame shaders to vulkan/glcore/dx10-11-12.

Builds on the concept already present for frame duplication in use for BFI, to present multiple 'sub' frames per real frame to the shaders, so they can run at a higher framerate than the content framerate. Must be enabled via subframe shaders setting under synchronization settings to be active.

Will allow BFI to be implemented inside of the shaders, among any other use for the higher framerate shader authors can devise.

CurrentSubFrame and TotalSubFrames have been available inside the shaders to track what they want to do on an given subframe. TotalSubFrames will always be 1 when the setting is disabled (and when in menu/ff/pause). Framecount will not increment on sub-frames, as it does not for injected bfi frames now. Should not interfere with any existing shaders that do not check for subframes.
2024-02-09 03:12:55 -08:00
..
.gitignore
crowdin.yaml Translation completeness display. (#14779) 2022-12-29 22:21:23 +01:00
crowdin_sync.py
fetch_progress.py Translation completeness display. (#14779) 2022-12-29 22:21:23 +01:00
googleplay_ar.json
googleplay_ast.json
googleplay_be.json Fetch translations from Crowdin 2023-03-28 00:12:21 +00:00
googleplay_ca.json Fetch translations from Crowdin 2023-02-13 00:12:19 +00:00
googleplay_chs.json
googleplay_cht.json
googleplay_cs.json
googleplay_cy.json
googleplay_da.json
googleplay_de.json
googleplay_el.json
googleplay_en.json Fetch translations from Crowdin 2022-05-08 00:12:15 +00:00
googleplay_eo.json
googleplay_es.json
googleplay_fa.json
googleplay_fi.json Fetch translations from Crowdin 2023-08-26 00:09:37 +00:00
googleplay_fr.json
googleplay_gl.json
googleplay_he.json
googleplay_hr.json
googleplay_hu.json Fetch translations from Crowdin 2022-12-04 00:12:42 +00:00
googleplay_id.json Fetch translations from Crowdin 2023-05-23 00:11:43 +00:00
googleplay_it.json
googleplay_ja.json
googleplay_ko.json
googleplay_mt.json
googleplay_nl.json Fetch translations from Crowdin 2022-05-23 00:12:07 +00:00
googleplay_no.json
googleplay_oc.json
googleplay_or.json Fetch translations from Crowdin 2023-05-15 00:11:26 +00:00
googleplay_pl.json
googleplay_pt_br.json
googleplay_pt_pt.json
googleplay_ro.json
googleplay_ru.json Fetch translations from Crowdin 2023-10-16 00:11:43 +00:00
googleplay_si.json
googleplay_sk.json
googleplay_sr.json
googleplay_sv.json
googleplay_tr.json
googleplay_uk.json
googleplay_us.json
googleplay_val.json
googleplay_vn.json Fetch translations from Crowdin 2022-05-29 00:13:19 +00:00
h2json.py
json2h.py (Bug fix) Fix the weird 'empty translations' & correct backslash escaping in translation strings (#14609) 2022-11-11 07:56:17 +01:00
msg_hash_ar.h Fetch translations from Crowdin 2024-02-05 00:12:07 +00:00
msg_hash_ast.h Fetch translations from Crowdin 2024-01-23 00:12:59 +00:00
msg_hash_be.h Fetch translations from Crowdin 2024-01-26 00:12:10 +00:00
msg_hash_ca.h Fetch translations from Crowdin 2024-01-23 00:12:59 +00:00
msg_hash_chs.h Fetch translations from Crowdin 2024-02-05 00:12:07 +00:00
msg_hash_cht.h Fetch translations from Crowdin 2024-02-05 00:12:07 +00:00
msg_hash_cs.h Fetch translations from Crowdin 2024-02-05 00:12:07 +00:00
msg_hash_cy.h Fetch translations from Crowdin 2024-01-23 00:12:59 +00:00
msg_hash_da.h Fetch translations from Crowdin 2024-01-23 00:12:59 +00:00
msg_hash_de.h Fetch translations from Crowdin 2024-02-06 00:11:42 +00:00
msg_hash_el.h Fetch translations from Crowdin 2024-01-23 00:12:59 +00:00
msg_hash_en.h Fetch translations from Crowdin 2024-01-30 00:11:30 +00:00
msg_hash_eo.h Fetch translations from Crowdin 2023-12-05 00:11:33 +00:00
msg_hash_es.h Fetch translations from Crowdin 2024-02-06 00:11:42 +00:00
msg_hash_fa.h Fetch translations from Crowdin 2024-01-23 00:12:59 +00:00
msg_hash_fi.h Fetch translations from Crowdin 2024-02-07 00:11:07 +00:00
msg_hash_fr.h Fetch translations from Crowdin 2024-02-05 00:12:07 +00:00
msg_hash_gl.h Fetch translations from Crowdin 2024-01-23 00:12:59 +00:00
msg_hash_he.h Fetch translations from Crowdin 2024-01-23 00:12:59 +00:00
msg_hash_hr.h Fetch translations from Crowdin 2024-01-23 00:12:59 +00:00
msg_hash_hu.h Fetch translations from Crowdin 2024-02-09 00:11:17 +00:00
msg_hash_id.h Fetch translations from Crowdin 2024-02-05 00:12:07 +00:00
msg_hash_it.h Fetch translations from Crowdin 2024-02-06 00:11:42 +00:00
msg_hash_ja.h Fetch translations from Crowdin 2024-02-09 00:11:17 +00:00
msg_hash_ko.h Fetch translations from Crowdin 2024-02-05 00:12:07 +00:00
msg_hash_lbl.h Slang Subframe Shaders Feature (#16209) 2024-02-09 03:12:55 -08:00
msg_hash_mt.h Fetch translations from Crowdin 2023-12-05 00:11:33 +00:00
msg_hash_nl.h Fetch translations from Crowdin 2024-01-23 00:12:59 +00:00
msg_hash_no.h Fetch translations from Crowdin 2024-01-23 00:12:59 +00:00
msg_hash_oc.h Fetch translations from Crowdin 2023-12-05 00:11:33 +00:00
msg_hash_or.h Fetch translations from Crowdin 2023-12-05 00:11:33 +00:00
msg_hash_pl.h Fetch translations from Crowdin 2024-02-05 00:12:07 +00:00
msg_hash_pt_br.h Fetch translations from Crowdin 2024-02-06 00:11:42 +00:00
msg_hash_pt_pt.h Fetch translations from Crowdin 2024-02-06 00:11:42 +00:00
msg_hash_ro.h Fetch translations from Crowdin 2023-12-05 00:11:33 +00:00
msg_hash_ru.h Fetch translations from Crowdin 2024-02-08 00:11:21 +00:00
msg_hash_si.h Fetch translations from Crowdin 2023-12-05 00:11:33 +00:00
msg_hash_sk.h Fetch translations from Crowdin 2024-01-23 00:12:59 +00:00
msg_hash_sr.h Fetch translations from Crowdin 2024-01-23 00:12:59 +00:00
msg_hash_sv.h Fetch translations from Crowdin 2024-01-23 00:12:59 +00:00
msg_hash_tr.h Fetch translations from Crowdin 2024-02-06 00:11:42 +00:00
msg_hash_uk.h Fetch translations from Crowdin 2024-01-23 00:12:59 +00:00
msg_hash_us.c Slang Subframe Shaders Feature (#16209) 2024-02-09 03:12:55 -08:00
msg_hash_us.h Slang Subframe Shaders Feature (#16209) 2024-02-09 03:12:55 -08:00
msg_hash_val.h Fetch translations from Crowdin 2024-01-23 00:12:59 +00:00
msg_hash_vn.h Fetch translations from Crowdin 2024-01-23 00:12:59 +00:00
progress.h Fetch translations from Crowdin 2024-02-09 00:11:17 +00:00
README.md
steam_ar.json Fetch translations from Crowdin 2023-04-27 00:12:10 +00:00
steam_ast.json
steam_be.json Fetch translations from Crowdin 2023-03-28 00:12:21 +00:00
steam_ca.json
steam_chs.json
steam_cht.json
steam_cs.json
steam_cy.json
steam_da.json
steam_de.json
steam_el.json
steam_en.json Fetch translations from Crowdin 2022-05-08 00:12:15 +00:00
steam_eo.json
steam_es.json
steam_fa.json
steam_fi.json
steam_fr.json
steam_gl.json
steam_he.json
steam_hr.json
steam_hu.json Fetch translations from Crowdin 2022-11-02 00:13:41 +00:00
steam_id.json Fetch translations from Crowdin 2023-03-13 00:12:32 +00:00
steam_it.json
steam_ja.json Fetch translations from Crowdin 2024-01-23 00:12:59 +00:00
steam_ko.json Fetch translations from Crowdin 2023-01-25 00:11:53 +00:00
steam_mt.json
steam_nl.json Fetch translations from Crowdin 2022-10-11 00:18:14 +00:00
steam_no.json
steam_oc.json
steam_or.json Fetch translations from Crowdin 2023-05-15 00:11:26 +00:00
steam_pl.json
steam_pt_br.json Fetch translations from Crowdin 2024-02-09 00:11:17 +00:00
steam_pt_pt.json
steam_ro.json
steam_ru.json Fetch translations from Crowdin 2023-10-10 00:11:15 +00:00
steam_si.json
steam_sk.json
steam_sr.json
steam_sv.json Fetch translations from Crowdin 2023-08-20 00:11:22 +00:00
steam_tr.json
steam_uk.json Fetch translations from Crowdin 2022-11-10 00:14:31 +00:00
steam_us.json
steam_val.json
steam_vn.json Fetch translations from Crowdin 2023-05-16 00:11:26 +00:00

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)