Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Fix iOS translation config

Leendert de Borst44ff1b011806
diff --git a/crowdin.yml b/crowdin.yml
index 2b73e3428..7355ab9d3 100644
--- a/crowdin.yml
+++ b/crowdin.yml
@@ -51,12 +51,9 @@ files:
- source: /apps/mobile-app/i18n/locales/en.json
translation: /apps/mobile-app/i18n/locales/%two_letters_code%.json
type: json
- - source: /apps/mobile-app/ios/AliasVault/en.lproj/InfoPlist.strings
- translation: /apps/mobile-app/ios/AliasVault/%two_letters_code%.lproj/InfoPlist.strings
- type: strings
- source: /apps/mobile-app/ios/**/en.lproj/*.strings
translation: /apps/mobile-app/ios/**/%two_letters_code%.lproj/%original_file_name%
- type: strings
+ type: macosx
- source: /apps/mobile-app/android/app/src/main/res/values/strings.xml
translation: /apps/mobile-app/android/app/src/main/res/values-%two_letters_code%/strings.xml
type: android
diff --git a/docs/misc/dev/translations.md b/docs/misc/dev/translations.md
index f0fb2da84..f3daecb88 100644
--- a/docs/misc/dev/translations.md
+++ b/docs/misc/dev/translations.md
@@ -103,5 +103,34 @@ The Crowdin GitHub App automatically:
- Offers new content for translation in the Crowdin web interface
- Manages translation file synchronization across all applications
-
+Installing Crowdin CLI on MacOS for manually syncing source files:
+
+```bash
+brew tap crowdin/crowdin
+brew install crowdin@4
+brew link --force --overwrite crowdin@4
+```
+
+To test uploading of source files via CLI to detect any issues with formatting:
+
+```bash
+crowdin upload --token=[api_token] --project-id=808100
+```
+
+Example output which may indicate errors:
+
+```bash
+✔️ Directory 'apps/mobile-app/ios/Autofill'
+✔️ Directory 'apps/mobile-app/ios/Autofill/en.lproj'
+❌ File 'apps/mobile-app/ios/Autofill/en.lproj/Localizable.strings'
+❌ Wrong parameters:
+<key: type, code: callbackValue, message: Unsupported type>
+✔️ Directory 'apps/mobile-app/android'
+✔️ Directory 'apps/mobile-app/android/app'
+✔️ Directory 'apps/mobile-app/android/app/src'
+✔️ Directory 'apps/mobile-app/android/app/src/main'
+✔️ Directory 'apps/mobile-app/android/app/src/main/res'
+✔️ Directory 'apps/mobile-app/android/app/src/main/res/values'
+✔️ File 'apps/mobile-app/android/app/src/main/res/values/strings.xml'
+````