Cpod12 274d47f957
Xunkar's AI service rework updated (#15640)
* AI service rework

* File missing

* Fixed C89 build

* Fixed usage of inline for C89 build

* Fixed an overlay unloading bug

Made sure to unload the overlay on release and when the server returns empty values in automatic modes.

* Fixed forward decl (c89)

* Fixed OpenGL texture loading

Moved image display to the main thread for now

* Changed some formatting slightly

* Fixed struct variable order and put brackets on newlines

* Moved pointer, fixed retroarch.cfg, and replaced strlcat with strlcpy

* Fixed catenation issue

* Fixed a few other catenation issues

* Fixed one more concatenation  issue

* Fixed concatenation issue

* Fixed a few other concatenation issues

* Fixed one more concatenation  issue

* potential fix for parsing issue

---------

Co-authored-by: Xunkar <329857+xunkar@users.noreply.github.com>
2023-10-24 00:27:06 -07:00
..
2020-06-21 19:03:09 +03:00
2020-06-30 15:20:30 +03:00
2020-06-30 15:20:30 +03:00
2020-06-30 15:20:30 +03:00
2020-06-30 15:20:30 +03:00
2020-06-30 15:20:30 +03:00
2020-06-22 19:35:14 +03:00
2023-10-07 00:11:04 +00:00
2023-10-07 00:11:04 +00:00
2023-10-24 00:11:31 +00:00
2023-10-07 00:11:04 +00:00
2023-10-07 00:11:04 +00:00
2023-10-07 00:11:04 +00:00
2023-10-07 00:11:04 +00:00
2023-10-07 00:11:04 +00:00
2023-10-07 00:11:04 +00:00
2023-10-07 00:11:04 +00:00
2023-10-07 00:11:04 +00:00
2023-10-07 00:11:04 +00:00
2023-10-07 00:11:04 +00:00
2023-10-07 00:11:04 +00:00
2023-10-07 00:11:04 +00:00
2023-10-23 00:11:44 +00:00
2023-10-07 00:11:04 +00:00
2023-10-07 00:11:04 +00:00
2023-10-07 00:11:04 +00:00
2023-10-07 00:11:04 +00:00
2023-10-09 00:11:38 +00:00
2023-10-07 00:11:04 +00:00
2023-10-08 00:12:04 +00:00
2023-10-07 00:11:04 +00:00
2023-10-07 00:11:04 +00:00
2023-10-07 00:11:04 +00:00
2023-10-07 00:11:04 +00:00
2023-10-07 00:11:04 +00:00
2023-10-07 00:11:04 +00:00
2023-10-23 00:11:44 +00:00
2023-10-07 00:11:04 +00:00
2023-10-07 00:11:04 +00:00
2023-10-24 00:11:31 +00:00
2023-10-07 00:11:04 +00:00
2023-10-17 00:13:29 +00:00
2023-10-07 00:11:04 +00:00
2023-10-07 00:11:04 +00:00
2023-10-07 00:11:04 +00:00
2023-10-07 00:11:04 +00:00
2023-10-07 00:11:04 +00:00
2023-10-07 00:11:04 +00:00
2023-10-22 00:12:04 +00:00
2023-04-27 00:12:10 +00:00
2022-02-22 00:09:41 +00:00
2023-03-28 00:12:21 +00:00
2022-02-22 00:09:41 +00:00
2022-02-22 00:09:41 +00:00
2022-02-22 00:09:41 +00:00
2022-02-27 00:10:40 +00:00
2022-02-22 00:09:41 +00:00
2022-02-22 00:09:41 +00:00
2022-04-05 00:10:01 +00:00
2022-02-22 00:09:41 +00:00
2022-05-08 00:12:15 +00:00
2022-02-22 00:09:41 +00:00
2022-02-23 00:09:57 +00:00
2022-02-22 00:09:41 +00:00
2022-02-23 00:09:57 +00:00
2022-02-22 00:09:41 +00:00
2022-02-22 00:09:41 +00:00
2022-02-22 00:09:41 +00:00
2022-11-02 00:13:41 +00:00
2023-03-13 00:12:32 +00:00
2022-02-22 00:09:41 +00:00
2022-02-22 00:09:41 +00:00
2023-01-25 00:11:53 +00:00
2022-02-22 00:09:41 +00:00
2022-10-11 00:18:14 +00:00
2022-02-22 00:09:41 +00:00
2022-02-22 00:09:41 +00:00
2023-05-15 00:11:26 +00:00
2022-02-22 00:09:41 +00:00
2023-10-10 00:11:15 +00:00
2022-02-22 00:09:41 +00:00
2022-02-22 00:09:41 +00:00
2023-08-20 00:11:22 +00:00
2022-02-22 00:09:41 +00:00
2022-11-10 00:14:31 +00:00
2022-02-21 20:11:25 +01:00
2022-04-02 00:09:55 +00:00
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)