I have a website written in PHP with 15-20 pages and they have lots of text. I have to translate it to 3 different languages. First, I tried using strings ($text_hello = "你好";
) but that option gets very tedious and hard to manage with 50+ strings. I also discovered gettext option and it's good. But I was interested particularly in a (MySQL) database backed option, where all translation would be fetched from database. Also, I may be wrong, but with gettext, you've to have that extra index.php?lang=en_US
(?) I want it to change just like it's on Twitter or Facebook, where URL doesn't change. Can you suggest me how to do this or guide me to tutorial/article/previous questions on this topic? Thanks!
Also, I saw people recommending Zend_Translate, but does that require me to re-write my website in Zend framework?
Before asking, I did search for it, but the results I got weren't what I was looking for.