How to add second *.lproj to Mac build?
Posted: Mon Dec 25, 2017 6:50 pm
I would like to build a German localized HandBrake for macOS. So, I've cloned the English.lproj, renamed it to German.lproj and translated all xib files (WIP). I've registered the new locale by opening HandBrake.xcodeproj inside Xcode and than drag and dropped the German.lproj folder into the Xcode project.
But, if I build HandBrake, the new lproj folder is not getting touched in any way. It will not get compiled and will not be copied into the HandBrake application. What else do I need to do? I can not find any other file in the code that handles lproj folders. Also, I have seen in the build process it will export LANG=en_US.US-ASCII. But I would like to export LANG=de_DE.UTF-8. How to do so? Thanks!
But, if I build HandBrake, the new lproj folder is not getting touched in any way. It will not get compiled and will not be copied into the HandBrake application. What else do I need to do? I can not find any other file in the code that handles lproj folders. Also, I have seen in the build process it will export LANG=en_US.US-ASCII. But I would like to export LANG=de_DE.UTF-8. How to do so? Thanks!