Files
iNaturalistReactNative/crowdin.yml
Johannes Klein 85484b9383 Add release notes to crowdin.yml (#3370)
This means they will get pushed to crowdin from source code, and translations will get pulled into the fastlane metadata folder.
2026-02-12 14:21:28 +01:00

44 lines
2.2 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
- source: /fastlane/metadata/ios/default/release_notes.txt
dest: /ReactNative/metadata/ios/release_notes.txt
translation: /fastlane/metadata/ios/%osx_locale%/release_notes.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