Scott Berrevoets 9/19/2025

Localization troubles with Swift PM

Read Original

The article details a specific localization bug encountered when using Swift Package Manager (SPM). Moving Localizable.strings files into an SPM package caused the app to default to English on first installations, as SPM package bundles are not considered by the main app's Bundle.localizations. The author explains the standard Xcode localization workflow, the problem's root cause, and mentions the CFBundleAllowMixedLocalizations key as a potential solution.

Localization troubles with Swift PM

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser