0

I have to maintain a website in three languages: Arabic, English, and Pashto.

When the users select a language, for example arabic, when he applies any search in my website, how that search will be applied in my database?

When I'm updating the website (of course in english), how those updates will be reflected for arabic and pashto languages in the database?

Maxime Pacary
  • 22,336
  • 11
  • 85
  • 113
sajid
  • 247
  • 7
  • 15

2 Answers2

1
  1. First you have to decide what would be you database approach. Multilingual Site in Zend Framework
  2. Secondly you have to decide what would be the approach to translated from one language to another. There are some options regrading this.
    1. Add translated text for each language manually.
    2. Use some translating service like google translate. But i dont think that you can rely on that. You have to add some approval system for translated text.
Community
  • 1
  • 1
Imran Naqvi
  • 2,202
  • 5
  • 26
  • 53
0

You can store multiple languages in an XML file (you can use http://php.net/manual/en/simplexmlelement.xpath.php to find what language you want based on the user`s selection), maybe even caching it...my opinion

Pro: further development (more languages)

ka_lin
  • 9,329
  • 6
  • 35
  • 56