Description
Currently, the Main App and Widget Extension need to share localized strings to ensure a consistent user experience. Duplicating Localizable.strings files across targets leads to maintenance issues and potential inconsistencies.
We need to extract localization resources into a separate Shared Framework (or Swift Package) so that both the Main App and the Widget Extension can reference a single source of truth.
Goal
- Create a dedicated module (e.g.,
DMateResource) for localized resources.
- Ensure both the Main App and Widget Extension targets import and use this shared module.
- Eliminate duplicate string files in the project.
Description
Currently, the Main App and Widget Extension need to share localized strings to ensure a consistent user experience. Duplicating
Localizable.stringsfiles across targets leads to maintenance issues and potential inconsistencies.We need to extract localization resources into a separate Shared Framework (or Swift Package) so that both the Main App and the Widget Extension can reference a single source of truth.
Goal
DMateResource) for localized resources.