feat(l10n): advertise app localizations to iOS

The per-app language picker in iOS Settings only appears when the built app
declares multiple localizations. Add the planned languages to the Xcode
project's knownRegions (so Xcode compiles their .lproj from the String
Catalog), and have `generate` keep CFBundleLocalizations in Info.plist in sync
with supportedLanguages (currently en, fr).
This commit is contained in:
2026-07-20 10:41:41 +02:00
parent 91573f381a
commit c71e1b97d9
3 changed files with 37 additions and 0 deletions

View File

@@ -12,6 +12,12 @@ export const APPLE_XCSTRINGS = join(
"apple/VniDrop/Resources/Localizable.xcstrings",
);
/** Apple app Info.plist — its CFBundleLocalizations is kept in sync with supportedLanguages. */
export const APPLE_INFO_PLIST = join(
REPO_ROOT,
"apple/VniDrop/Resources/Info.plist",
);
/** KMP / Compose Multiplatform resources root; one values[-lang]/strings.xml per language. */
export const KMP_RESOURCES = join(
REPO_ROOT,