Use genstrings with a folder-structured project for localization
问题 In an iOS Project with folders containing *.m files, similar to packages, one will have to run genstrings -o en.lproj *.m for each folder and match the relative en.lproj path. Is there a command that will do the drill down from the root folder? 回答1: You can concatenate all of the *.m files into one file and then call the genstrings on that. I.E: find . -name "*.m" -exec cat {} >> all.txt \; 回答2: In Greenwich we use find piped to xargs . You can see how that's done here, but it's basically: