I am using Xcode 15 and working on a localised app. I use the new String Catalogs feature which works great for my app. In my app I created some local package like Apple has done it in the Backyard Birds example. However the translations I did in the package's String Catalog won’t be used in the app. What am I doing wrong?
When you use resources from a localised framework, make sure to use methods with the bundle:
parameter! Even in the framework itself.
Instead of using String(localized: "some String")
use String(localized: "some String", bundle: Bundle.module)
. Same goes for Color
, NSDataAsset
and so on. This fixed my issue.