db: Override cycle multiplier for Colin McRae PAL
[pcsx_rearmed.git] / deps / libretro-common / samples / core_options / example_translation / translation scripts / instructions.txt
CommitLineData
3719602c
PC
1Place 'crowdin.yml' & the 'intl' and '.github' folder, including content, into the root of the repo.
2
3In '.github/workflows' are two files: 'crowdin_intl.yml' & 'crowdin_prep.yml'
4In each of those are place holders, which need to be replaced as follows:
5
6<path/to/libretro_core_options.h directory>
7-> replace with the path from the root of the repo to the directory containing
8'libretro_core_options.h' (it is assumed that 'libretro_core_options.h' &
9'libretro_core_options_intl.h' are in the same directory)
10
11<path/to/libretro_core_options.h file>
12-> replace with the full path from the root of the repo to the 'libretro_core_options.h' file
13
14<path/to/libretro_core_options_intl.h file>
15-> replace with the full path from the root of the repo to the 'libretro_core_options_intl.h' file
16
17
18From the root of the repo run (using bash):
19python3 intl/core_opt_translation.py '<path/to/libretro_core_options.h directory>'
20
21(If python3 doesn't work, try just python)
22
23Push changes to repo. Once merged, request Crowdin integration.
24
25
26Crowdin integration:
27
28On the project page, go to the Applications tab. Choose GitHub.
29There are two options: connecting a GitHub account, which has write/commit permissions to the repo
30or providing a GitHub token, which will unlock these permissions.
31
32Then add a repository, a new interface opens. Pick the repository as well as the branch, which you want to sync.
33On the right, Crowdin will display the default name of the repository it will use for creating PRs.
34Below, set the sync schedule and then save. With that the synchronisation should be set up.
35If there are still problems, you might need to manually modify the configuration (double click on the branch in the lower frame).
36
37Here's what the file paths should look like (the '/' at the start is very important!):
38
39Source files path:
40/intl/_us/*.json
41
42Translated files path:
43/intl/_%two_letters_code%/%original_file_name%
44
45
46Once Crowdin successfully creates the PR & it has been merged, the automatically created branch can be deleted on GitHub.
47