How do I correctly configure a Swift Package in a project to display localized strings from the package where we have strings Localized?
In your package, create a public value that refers to its bundle :
public let module: Bundle = .module
Then in your app, import your package, so you can access its module
and use it in your views, i.e. your Text
:
import MyPackage
Text(LocalizedStringKey("some.key"), bundle: MyPackage.module))