专业开发人员:开发多语言网站最专业的方法是什么? [英] to Professional Developers : what is the best ant the most professional way to develop multilanguage website?

查看:102
本文介绍了专业开发人员:开发多语言网站最专业的方法是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




开发多语言网站的最佳和最专业的方法是什么?

i不问如何,

我只想知道最好的,最快的方式,以及减少服务器负载的方法。



我知道两种方式。



1 - 使用本地化和全球化。

2 - 为每种语言制作页面文件夹。

还有其他方法吗?



谢谢

Hi
what is the best and the most professional way to develop multilanguage website?
i am not asking How,
All i want to know only the best , the fastest way and which way is reduce the load to the server.

I know 2 ways .

1-to use localization and globalization .
2-to make folder of pages for each language .
is there any other ways ?

thanks

推荐答案

引用:

我知道两种方式。



1 - 使用本地化和全球化。

2 - 为每种语言制作页面文件夹。

I know 2 ways .

1-to use localization and globalization .
2-to make folder of pages for each language .

选择第一个选项。



使用第二种方式

如果您的客户希望该应用程序支持10种以上的语言,您会怎么做?为每种语言创建10多个副本?如果客户希望在几个月后支持另外5种语言怎么办?如果它是静态内容没问题,但如果页面包含动态内容怎么办?这真是太可怕了。



使用第一种方式

case(第二种方式),你只需要更新新语言的键值(资源)。但是它需要更多的时间来启动(第二种方式),特别是如果你支持阿拉伯语,中文等unicode语言。



FYI

开发适用于全球的应用程序的最佳实践 [ ^ ]

本地化文章@ Codeproject [ ^ ]

Go with 1st option.

Using 2nd way
If your client wants the application to support 10+ languages, what'll you do? Creating 10+ copies for each language? And what if client wants to support 5 more languages after couple of months? If it's a static content no problem but what if pages contain dynamic content? That's really terrible thing to do.

Using 1st way
In above case(2nd way), you just need to update key values(resource) for new language. But it'll take more time on starting(over the 2nd way), particularly if you support unicode languages like Arabic, Chinese.

FYI
Best Practices for Developing World-Ready Applications[^]
Localisation articles @ Codeproject[^]


这篇关于专业开发人员:开发多语言网站最专业的方法是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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