This is a discussion on MultiLingual WebSite in PHP within the PHP Programming forums, part of the Web Development category; I need to develop a multilingual web site and I am looking for the best way. There are few issues: ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| I need to develop a multilingual web site and I am looking for the best way. There are few issues: 1. Storing multilingual data in a database. Possible solutions: a. many tables, one per each supported language, e.g. table_en, table_de. b. one table having many columns with translations, e.g. (id, date, text_en, text_de) Use MySQL 4.1 as a back-end. 2. Multilingual HTML templates, possible solutions: a. one generic template for everything, one per each language, like contents_english.template.html, contents_danish.template.html b. many localized templates for each page, e.g news_en.tpl.html, news_de.tpl.html 3. Storing current language variable, possible solutions: a. inside the URL like /en/news/ b. using cookies c. using sessions Web server is Apache2 + mod_rewrite with PHP5 What are advantage and disadvantage for each solution? What are other possible solutions for the above issues?
__________________ Venkat knowledge is Power |
| Sponsored Links |
| |||
| Different language supporting of websites.... I think in PHP we need to redisgn the whole structure of PHP pages for multilingual support |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Cart for a website | chocoguy | Perl | 7 | 01-12-2008 11:16 PM |
| In Microsoft Surface Website. Why they have used Adobe Flash in their website instead | theone | Microsoft | 1 | 07-27-2007 06:12 AM |
| How to develope a website | jeyaprakash.c | Web Design Help | 3 | 07-07-2007 12:50 AM |
| How to know that a website is SEO friend | montyauto | Search Engine Optimization | 2 | 04-27-2007 12:05 AM |
| website revenue | WebHoster | The Lounge | 2 | 04-03-2007 06:46 AM |