“导出以进行本地化”时出错。 Xcode 6.3 [英] Error while "Export For Localization.." Xcode 6.3

查看:73
本文介绍了“导出以进行本地化”时出错。 Xcode 6.3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在项目中添加一些新语言,但点击编辑器 - >导出本地化 - >保存,我收到以下错误:

I want to add some new languages to my projects but after clicking Editor -> Export For Localization -> Save, I get the following error:

Localization failed reading "/var/folders/rs/_qctp1n15gl81l8s0rm7njnh0000gn/T/Xcode3SourceStringsAdaptor-2E68CCA9-A2EA-4EE4-8ED1-A9250721AFC1/Localizable.strings"

Please address the issue at file location 990

我在不同的项目中尝试过,有些运作良好有些有这个错误。所有项目都有相同的语言,并且已经本地化我只需要添加一些其他语言。

I have tried it in different projects, some working well some have this error. All projects have the same languages and are already localized I just have to add some other languages.

我不知道是什么原因或我如何解决这个问题。

I have no idea what's the reason or how I can solve this problem.

我很感激任何回复!

推荐答案

问题似乎在Xcode 6.3中,XLIFF解析器突然在未转义的引号(')上窒息。一个解决方案似乎是逃避(使用反斜杠)源代码中的所有引号实例,例如用@Foobar \替换 @Foobar's。

The issue seems to be in Xcode 6.3, that the XLIFF parser suddenly chokes on unescaped quotes ('). A solution seems to be to escape (with a backslash) all instances of quotes in your source code, e.g replace @"Foobar's" with @"Foobar\'s".

这篇关于“导出以进行本地化”时出错。 Xcode 6.3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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