mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2025-12-23 14:08:56 -05:00
Solution was disabling en as a target language for this file on Crowdin... even though this file specifies that en is the source locale.
41 lines
2.1 KiB
YAML
41 lines
2.1 KiB
YAML
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
|
|
# As of 20250205, the Crowdin CLI seems to *remove* the English source text
|
|
# when syncing this file, so we're disabling sync for now.
|
|
# https://community.crowdin.com/t/xcstrings-sync-w-crowdin-cli-removes-source-text/12154
|
|
- 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
|