-
Notifications
You must be signed in to change notification settings - Fork 755
Description
Hi,
Hope you're all doing well.
I love using SwiftGen, since it brings "type safety" to your localized strings. If you accidentally rename or remove a required key, your app won't build.
However, if your app is localized for multiple languages, you can only be sure that the keys you use in your app exist in the Localizable.strings file you are using when generating the enum file, right?. If they are not present in any of the other localizable files, your app will still compile.
Is there any way to account for this? I guess you could add a fastlane build step that iterates through all languages and generates the swift file for each language, tries to build the app and aborts if any key is missing in the file.
Would that be your recommended course of action, or is there some built-in feature that I missed?
All the best!