为iOS创建本地化文件 [英] Creating Localization Files for iOS

查看:134
本文介绍了为iOS创建本地化文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想本地化我的一个应用程序。但我似乎无法弄明白。我试过阅读苹果的文档,我看了一堆通过搜索找到的教程。我理解如何将我的所有字符串更改为 NSLocalizedStrings ,以及如何编辑那些创建的本地化文件,但我的问题是我无法弄清楚如何创建这些目录首先。

I would like to localize one of my apps. But I just CANNOT seem to figure it out. I have tried to read apple's docs, and I have looked at a bunch of tutorials that I found by searching. I understand how to change all my strings to NSLocalizedStrings, and how to edit those localized files one there created, but my problem is I can't figure out how to create those directories in the first place.

如何制作这些文件夹 en.lproj 和西班牙文件夹。另外,如何制作其中的两个字符串文件。

How do you make those folders en.lproj and a spanish one. Also, how do you make the two string files that go inside them.

将非常感谢逐步帮助,或者链接到此部分的详细教程。

Step by step help would be greatly appreciated, or a link to a detailed tutorial on this part.

提前致谢。

注意:我做了无数次尝试而且只是卡住了。

Note: I've made countless attempts and an simply stuck.

推荐答案

选择文件时,在Utility侧栏中,您将看到本地化面板。
在那里你可以添加语言。

When selecting a file, in the Utility sidebar you will see the localization panel. There you can add languages.

这篇关于为iOS创建本地化文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆