-1

Possible Duplicate:
what is the best way to put a translation system in php website?

I am planning to use Zend translate.

Which will be the efficient and easy way to develop a multi lingual webiste.

  1. csv
  2. array
  3. xml
  4. Any other option

Now we planning to add 3 languages. In future we may add other languages. So which way will be better to implement which will help to reduce changes in future

Community
  • 1
  • 1
zod
  • 12,092
  • 24
  • 70
  • 106
  • Whatever is easiest for you to maintain. The .mo/.po formats come with lovely pre-built [editing tools](http://www.poedit.net/); if you don't have end user translators, I guess any of the formats will do – Pekka Feb 20 '12 at 22:43
  • *(reference)* [How to decide which translation adapter to use](http://framework.zend.com/manual/en/zend.translate.adapter.html#zend.translate.adapter.decision) – Gordon Feb 20 '12 at 22:51

3 Answers3

0

Zend Locale is a good start. Usually creating a website that is for multiple languages is more than just terminology changes, it's new formatting of numbers, time, currency, etc. I'd really look into implementing Zend Locale:

http://framework.zend.com/manual/en/zend.locale.introduction.html

four43
  • 1,675
  • 2
  • 20
  • 33
0

Gettext is very efficient and fast. Easy to add other languages and there is an open source online tool for contributing translations by other translators: http://glotpress.org

nrob
  • 340
  • 3
  • 13
0

This has already been discussed here: https://stackoverflow.com/questions/1228018/php-multilingual-site

If you dont want to go with a framework, i would personally suggest XML files since they are a lot easier to maintain and edit along the way, as compared to CSV's

Community
  • 1
  • 1
Kypros
  • 2,997
  • 5
  • 21
  • 27