2014-10-31 42 views
1

在xcode 6中,有一個非常好的功能,您可以選擇要測試應用程序的語言,而無需更改系統語言和重新啓動。 我的系統只顯示2種語言,如何添加更多?我嘗試在系統首選項語言列表中添加更多語言,但我仍然看到相同的選項。在方案選項中爲應用程序語言添加更多選項

enter image description here

回答

2

你應該在你的項目設置的本地化部分添加其他語言。

在左側的項目導航器中,選擇您的項目(不是目標)。然後,點擊信息並在本地化部分下,你會找到+/-按鈕來添加/刪除本地化文件。添加需要的語言。

添加您選擇的語言後,您應該能夠在Scheme/Application Language下看到它。有關更多信息,您可以訪問Apple Developer。

https://developer.apple.com/library/ios/documentation/MacOSX/Conceptual/BPInternational/Art/bi_disabled_2x.png

https://developer.apple.com/library/ios/documentation/MacOSX/Conceptual/BPInternational/InternationalizingYourUserInterface/InternationalizingYourUserInterface.html

+0

謝謝!布拉克爲什麼我沒有想到的..現在看來如此簡單。 – 2014-11-28 20:25:05