iPhone 本地化问题

发布于 2024-12-21 03:11:49 字数 260 浏览 2 评论 0原文

我们最近为我的应用程序添加了本地化支持,并添加了匈牙利语翻译。一切正常。但后来我们发现有些字符不正确,所以我将“.strings”文件发送给翻译器并用更新的文件替换旧文件。

现在,本地化字符串出现在警报框中,但所有屏幕/表单/NIB 仅显示英语。

我不知道这个过程中出了什么问题。这有点紧急,不幸的是我的编码员反应不太灵敏。

我是一名程序员,但对 Objective C 不太熟悉。如果我能得到专家的帮助,我也许能够解决这个问题。

非常感谢!

We recently added localization support to my app and added Hungarian translation. It was working fine. But then we found that some characters were not proper so I sent the ".strings" file to translator and replaced the old file with updated file.

Now, the localized string appears in alertbox but all screen/form/NIB displays English only.

I have no clue what went wrong in this process. It's kinda urgent and unfortunately my coder is not much responsive.

I am a programmer but not much familier with Objective C. If I can get some help from expert fellas, I might be able to solve it.

Thanks a bunch!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

那伤。 2024-12-28 03:11:49

我不确定到底出了什么问题,但我首先用旧版本恢复了 .string 文件,从 Xcode 打开它,然后替换内容。我观察到的一个区别是,旧文件中的 EOF 处有两个空行,而新文件中缺少该空行,不确定这是否导致了问题。

谢谢大家!

I am not sure what was wrong exactly but I first restored that .string file with old version, opened it from Xcode and then replaced the content. One difference I observed was, there were two empty lines at EOF in old file, which was missing in new file, not sure if that caused the issue.

Thanks everyone!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文