mirror of
https://github.com/sudosylabs/vnidrop.git
synced 2026-08-05 10:29:58 +02:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user