如何在转换的resx文件中验证复合格式字符串 [英] How to verify composite format strings in translated resx files

查看:66
本文介绍了如何在转换的resx文件中验证复合格式字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有时会发生这样的情况,我们从翻译处将resx文件中的格式字符串弄坏了.一个例子是翻译器替换了"{0}".带有"{0}"在翻译后的字符串中.

It sometimes happens that we get broken format strings in the resx files back from the translation offices. One example was that the translater replaced "{0}" with "{ 0 }" in the translated strings.

是否有任何工具可以检查resx文件的不同语言,复合格式字符串在语法上是否正确,并且与原始文件相比具有相同数量的参数?

Ist there any tool which can check the different languages of the resx files whether the composite format strings are syntactically correct and have the same number of parameters compared to the original files?

谢谢,
Markus

Thanks,
Markus

推荐答案

MarkusSchaber,

Hi MarkusSchaber,

谢谢您在这里发布.

对于您的问题,也许您可​​以使用 ResXManger 检查resx文件的其他语言.

For your question, maybe you could use ResXManger to check the different language of the resx files.

此工具提供对解决方案中所有基于ResX的字符串资源的集中访问.您可以快速浏览所有资源文件,并在结构合理的数据网格中查看内容.它使查找未翻译的字符串或清理孤立的字符串变得容易 条目.所有字符串都可以在适当位置快速编辑,输入时将即时创建未翻译的条目. Excel导出和导入使您可以轻松地在Visual Studio外部交换翻译.自动翻译可以加快您的本地化速度 过程.

This tool provides central access to all ResX-based string resources in your solution. You can quickly navigate through all resource files and view the content in a well-arranged data grid. It makes it easy to find untranslated strings or clean up orphaned entries. All strings can be quickly edited in place, untranslated entries will be created on the fly while typing. Excel export and import lets you easily exchange translations outside of Visual Studio. Automated translations can speed up you localization process.

我希望这会对您有所帮助.

I hope this would be helpful to you.

如果您对此问题还有其他疑问,请随时与我们联系.

If you have something else regarding this issue, please feel free to contact us.

最好的问候,

温迪


这篇关于如何在转换的resx文件中验证复合格式字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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