-
Notifications
You must be signed in to change notification settings - Fork 25
/
crowdin.yml
37 lines (36 loc) · 1.84 KB
/
crowdin.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
project_id_env: CROWDIN_PROJECT_ID
api_token_env: CROWDIN_PERSONAL_TOKEN
preserve_hierarchy: true
files:
- source: /src/i18n/strings.ftl
dest: /ReactNative/strings.ftl
# Note: this uses the Crowdin locale which always has a region. We need to
# mess with this later in i18ncli
translation: /src/i18n/l10n/%locale%.ftl
type: ftl
- source: /ios/InfoPlist.xcstrings
dest: /ReactNative/InfoPlist.xcstrings
translation: /ios/InfoPlist.xcstrings
multilingual: true
# Strings for AppStore description etc
# Note: this uses the Crowdin osx-locale with some custom mapping in metadata/i18ncli.js
- source: /fastlane/metadata/ios/default/description.txt
dest: /ReactNative/metadata/ios/description.txt
translation: /fastlane/metadata/ios/%osx_locale%/description.txt
- source: /fastlane/metadata/ios/default/keywords.txt
dest: /ReactNative/metadata/ios/keywords.txt
translation: /fastlane/metadata/ios/%osx_locale%/keywords.txt
- source: /fastlane/metadata/ios/default/promotional_text.txt
dest: /ReactNative/metadata/ios/promotional_text.txt
translation: /fastlane/metadata/ios/%osx_locale%/promotional_text.txt
- source: /fastlane/metadata/ios/default/subtitle.txt
dest: /ReactNative/metadata/ios/subtitle.txt
translation: /fastlane/metadata/ios/%osx_locale%/subtitle.txt
# Strings for PlayStore description etc
# Note: this uses the Crowdin locale with some custom mapping in metadata/i18ncli.js
- source: /fastlane/metadata/android/en-US/full_description.txt
dest: /ReactNative/metadata/android/full_description.txt
translation: /fastlane/metadata/android/%locale%/full_description.txt
- source: /fastlane/metadata/android/en-US/short_description.txt
dest: /ReactNative/metadata/android/short_description.txt
translation: /fastlane/metadata/android/%locale%/short_description.txt