按照XCODE國際化的作法做完之後,發現並不會自動切換
網路查到解決的方式
http://stackoverflow.com/questions/4297051/nslocalizedstring-problem
If you use xCode 4 you will face with such problem. Try next steps:
- Remove application from device
- Select root node of project tree to get project's properties
- Select "Build Phases" tab
- Click "Add build phase" and select "Copy files"
- Select "Resources" in "Copy files" view
- Add Localizable.strings file
- Perform "Clean" for the project
- "Build and Run"
事實上不用做這麼多
只要兩個步驟:
1.從裝置移除應用程式
2.Product->Clear