问题描述
对于即将到来的项目,其中一个要求是以几种语言翻译Web应用程序,其中一种是阿拉伯语。
我对处理有多种语言,并且知道很多关于unicode的知识。我想知道的是,如果有一些基本的提示和建议,我可以按照预期我的HTML模板的阿拉伯语翻译。
编辑:我很好奇如何构建一个易于翻译的应用程序。对于所有LTR语言而言,它往往是一个字符串替换问题(以及其他一些事情),构建一个应用程序需要多少时间,但是稍后添加阿拉伯语支持相对容易。在开始之前,我可以考虑哪些事情?
检查HTML dir
属性:
< head>
< meta http-equiv =Content-Type content =text / html; charset = utf-8/>
< head>
< body>
...
< body>
< / html>
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>
这篇关于以阿拉伯语翻译应用的建议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!