Localizable strings

来源:互联网 发布:股票对比分析软件 编辑:程序博客网 时间:2024/05/01 18:36


 

When you want to localize your application, you generally localize your strings first by using the genstrings command. Most people will tell you to run something like this:
genstrings ./Classes/*.m

That’s not the best way to do things though, as you might have source files in other directories, especially if you’re developing a Universal application. Instead, go to the top of your directory structure and run this command:
find . -name '*.m' | xargs genstrings

That will recursively look through your entire directory structure, find all the .m files, and then pass those to genstrings.

From: http://gargoylesoft.com/blog/2011/02/localizable-strings/

 

原创粉丝点击