mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2026-04-18 05:49:24 -04:00
This means they will get pushed to crowdin from source code, and translations will get pulled into the fastlane metadata folder.
44 lines
2.2 KiB
YAML
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
|