用阿拉伯语翻译应用程序的建议 [英] Recommendations for translating an app in arabic

查看:24
本文介绍了用阿拉伯语翻译应用程序的建议的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于即将开展的项目,其中一项要求是将 Web 应用程序翻译成几种语言,其中一种语言是阿拉伯语.

我非常了解如何处理多种语言,并且非常了解 unicode.我想知道是否有一些基本的提示和建议,我可以按照预期为我的 HTML 模板进行阿拉伯语翻译.

我很好奇如何构建一个易于翻译的应用程序.对于所有 LTR 语言,通常需要替换字符串(以及其他一些事情),构建应用程序需要什么,但稍后添加阿拉伯语支持相对容易.在开始之前有什么我可以考虑的事情吗?

解决方案

检查 HTML dir 属性:http://www.w3.org/TR/html401/struct/dirlang.html

<前><代码><html xmlns="http://www.w3.org/1999/xhtml" dir="rtl" xml:lang="ar" lang="ar"><头><meta http-equiv="Content-Type" content="text/html;charset=utf-8"/></头><身体>...</正文>

For an upcoming project, one of the requirements is to translate the web application in a few languages, one of which is in Arabic.

I know plenty about dealing with multiple languages, and know plenty about unicode. What I'm wondering is if there's some basic tips and recommendations I can follow anticipating an Arabic translation for my HTML templates.

Edit: I'm mostly curious how to build an application that's easily translatable. With all LTR-languages it's often times a matter of string replacement (along with a few other things), what does it take to build an app, but make it relativaly easy to add arabic support later on. Are there things I can consider before starting?

解决方案

Checkout the HTML dir attribute: http://www.w3.org/TR/html401/struct/dirlang.html


<html xmlns="http://www.w3.org/1999/xhtml" dir="rtl" xml:lang="ar" lang="ar" >
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
</head>
<body>
...
</body>
</html>


这篇关于用阿拉伯语翻译应用程序的建议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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