Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/workflows/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,14 @@ itself:

....

# crowdin.yml
TODO
# crowdin.yml: Upload translation sources to [Crowdin](translate.keyman.com)

This action automatically updates the English source strings on Crowdin
https://crowdin.com/project/keyman/sources/files

based on the root [crowdin.yml](../../crowdin.yml) configuration file. The daily cron job currently runs at 6:00AM.

This should match the behavior of locally using the [Crowdin CLI to upload sources](https://crowdin.github.io/crowdin-cli/commands/crowdin-upload-sources).

# deb-packaging.yml: Ubuntu Packaging GitHub Action

Expand Down
30 changes: 15 additions & 15 deletions crowdin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,21 @@ files:
languages_mapping:
# Prevent invalid region pap-rPAP. Leaving "in" for Indonesian
android_code:
el-polyton: b+el # TODO: figure out polyton variant
#el-polyton: b+el # TODO: figure out polyton variant
es-419: b+es+419
pap: pap
shu-latn-n: b+shu+latn
#shu-latn-n: b+shu+latn

- source: /android/KMAPro/kMAPro/src/main/res/values/strings.xml
dest: /android/app/strings.xml
translation: /android/KMAPro/kMAPro/src/main/res/values-%android_code%/strings.xml
languages_mapping:
# Prevent invalid region pap-rPAP
android_code:
el-polyton: b+el # TODO: figure out polyton variant
#el-polyton: b+el # TODO: figure out polyton variant
es-419: b+es+419
pap: pap
shu-latn-n: b+shu+latn
#shu-latn-n: b+shu+latn

# Windows files
# Note: we use type: android for the Windows project files
Expand Down Expand Up @@ -81,31 +81,31 @@ files:
languages_mapping:
osx_code:
pt-PT: pt-PT.lproj
el-polyton: el.lproj
#el-polyton: el.lproj

- source: /ios/engine/KMEI/KeymanEngine/en.lproj/Localizable.strings
dest: /ios/engine/Localizable.strings
translation: /ios/engine/KMEI/KeymanEngine/%osx_code%/%original_file_name%
languages_mapping:
osx_code:
pt-PT: pt-PT.lproj
el-polyton: el.lproj
#el-polyton: el.lproj

- source: /ios/engine/KMEI/KeymanEngine/en.lproj/Localizable.stringsdict
dest: /ios/engine/Localizable.stringsdict
translation: /ios/engine/KMEI/KeymanEngine/%osx_code%/%original_file_name%
languages_mapping:
osx_code:
pt-PT: pt-PT.lproj
el-polyton: el.lproj
#el-polyton: el.lproj

- source: /ios/keyman/Keyman/Keyman/en.lproj/Localizable.strings
dest: /ios/app/Localizable.strings
translation: /ios/keyman/Keyman/Keyman/%osx_code%/%original_file_name%
languages_mapping:
osx_code:
pt-PT: pt-PT.lproj
el-polyton: el.lproj
#el-polyton: el.lproj

# Linux files

Expand All @@ -116,7 +116,7 @@ files:
update_option: update_as_unapproved
languages_mapping:
locale_with_underscore:
shu-latn-n: shu@latin
#shu-latn-n: shu@latin
ha: ha

# macOS files
Expand All @@ -127,47 +127,47 @@ files:
languages_mapping:
osx_code:
pt-PT: pt-PT.lproj
el-polyton: el.lproj
#el-polyton: el.lproj

- source: /mac/Keyman4MacIM/Keyman4MacIM/KMConfiguration/en.lproj/preferences.strings
dest: /mac/app/preferences.strings
translation: /mac/Keyman4MacIM/Keyman4MacIM/KMConfiguration/%osx_code%/%original_file_name%
languages_mapping:
osx_code:
pt-PT: pt-PT.lproj
el-polyton: el.lproj
#el-polyton: el.lproj

- source: /mac/Keyman4MacIM/Keyman4MacIM/KMInfoWindow/en.lproj/KMInfoWindowController.strings
dest: /mac/app/KMInfoWindowController.strings
translation: /mac/Keyman4MacIM/Keyman4MacIM/KMInfoWindow/%osx_code%/%original_file_name%
languages_mapping:
osx_code:
pt-PT: pt-PT.lproj
el-polyton: el.lproj
#el-polyton: el.lproj

- source: /mac/Keyman4MacIM/Keyman4MacIM/KMKeyboardHelpWindow/en.lproj/KMKeyboardHelpWindowController.strings
dest: /mac/app/KMKeyboardHelpWindowController.strings
translation: /mac/Keyman4MacIM/Keyman4MacIM/KMKeyboardHelpWindow/%osx_code%/%original_file_name%
languages_mapping:
osx_code:
pt-PT: pt-PT.lproj
el-polyton: el.lproj
#el-polyton: el.lproj

- source: /mac/Keyman4MacIM/Keyman4MacIM/en.lproj/Localizable.strings
dest: /mac/app/Localizable.strings
translation: /mac/Keyman4MacIM/Keyman4MacIM/%osx_code%/%original_file_name%
languages_mapping:
osx_code:
pt-PT: pt-PT.lproj
el-polyton: el.lproj
#el-polyton: el.lproj

- source: /mac/Keyman4MacIM/Keyman4MacIM/en.lproj/MainMenu.strings
dest: /mac/app/MainMenu.strings
translation: /mac/Keyman4MacIM/Keyman4MacIM/%osx_code%/%original_file_name%
languages_mapping:
osx_code:
pt-PT: pt-PT.lproj
el-polyton: el.lproj
#el-polyton: el.lproj

# crowdin parameters descriptions:

Expand Down