Hi iOS peeps !
Was just wondering if anyone has had this issue before with String Catalogs. I have an iOS project where I am using String Catalogs for localisation ( the project is split up into multiple local swift packages with each project having its own Localizable.xcstrings ) and the app currently only supports en as the base and en-US for US localisation
During the build process however some of the swift packages only produce the en-US localisation and is missing the en default localisation in the binary. Having a look at the build log for some xcstringstool will only produce one set of Localizable.strings (en-US.lproj) instead of (en.lproj and en-US.proj)
I haven't been able to find much documentation from Apple on xcstringstool as well / not sure where to find more info about this
Hello, String Catalogs do not build source language strings when the state is new, which is the default when strings are extracted from code and not further translated or varied in that language. To ensure a particular string builds anyway, you can choose Mark as Reviewed from the context menu to change the state to Translated.
You can learn more about String Catalogs here: https://developer.apple.com/videos/play/wwdc2023/10155