What is the proper way to localize a static website

这一生的挚爱 提交于 2019-12-09 08:20:19

问题


I need to localize our site to a number of languages. The site consists of several static pages, no dynamic backend. We have a nice international community and the people are ready to help us.

The problem is how to arrange website translation, what is the right workflow?

What are the best practices for static website localization? How to organize language strings bundles? How to organize a workflow from string bundle to production web-page?

Is it possible to arrange translation in a wiki way, where several translators could translate a string bundle concurrently?


回答1:


UPDATE:

As of March 2012, 99translations has been discontinued. Another similar service I've found is www.getlocalization.com/

ORIGINAL MESSAGE:

You could use something like 99translations.com. Open a project there and ask your community to help with translation. For example this is how the guys at smartgwt did it




回答2:


I think this question has two distinct parts.

Technical: as it is a pure static site with no dynamic content, the translations will be provided in static pages as well. If you're running Apache, the mod_mime module lets you add language suffixes to file names, so that you might have mypage.html.en, mypage.html.fr, etc. - cf: http://httpd.apache.org/docs/2.2/mod/mod_mime.html. Other web servers might offer similar options.

Organisational: the workflow for website translation is a totally different matter; a Wiki or CMS might be helpful here, but they are at least difficult to realise with pure static pages. If language string bundles, resource files and the like are of any help, depends on your content, and in most cases will require to create pages dynamically. Which workflow you can support and maintain, largely depends on your (your organisations) capacity to handle it.

In my opinion, this problem deserves a more thorough analysis to get a satisfactory solution.




回答3:


in short:

  1. Is it possible to arrange translation in a wiki way? of course, there are a lot of open source CMS ( Content System Management ) that do this work for you!

  2. What are the best practices for static website localization? there is no best practicse for static website! since you have a community you must work with dinamic content, for your needs static site is bad practicse itself!

  3. what is the right workflow? Separate your views from your logic, Don’t use machine translation, Don’t concatenate strings...etc

Hope this help!




回答4:


I just saw a little project based on JavaScript/CSS that can fit your needs of static internationalization : stati18n (https://github.com/k-yak/stati18n) give it a try. Everything is explained in the readme file.



来源:https://stackoverflow.com/questions/2891830/what-is-the-proper-way-to-localize-a-static-website

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!