IT Community - Software Programming, Web Development and Technical Support

MultiLingual WebSite in PHP

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: ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > PHP Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 10-31-2007, 11:59 AM
Venkat Venkat is offline
D-Web Master
 
Join Date: Mar 2007
Posts: 350
Venkat is on a distinguished road
Thumbs up MultiLingual WebSite in PHP

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
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 11-19-2007, 08:21 AM
Sabari Sabari is offline
D-Web Genius
 
Join Date: Jul 2007
Posts: 1,008
Sabari is on a distinguished road
Default Re: MultiLingual WebSite in PHP

what is meant by MultiLingual WebSite?
__________________
Thanks & Regards
Sabari...
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 11-19-2007, 10:17 AM
kingmaker kingmaker is offline
D-Web Genius
 
Join Date: Jun 2007
Posts: 882
kingmaker is on a distinguished road
Send a message via Yahoo to kingmaker
Default Re: MultiLingual WebSite in PHP

Different language supporting of websites....


I think in PHP we need to redisgn the whole structure of PHP pages for multilingual support
__________________
The KINGMAKER
Makes Every Thing Possible

Stuffs (My Blog)
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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


All times are GMT -7. The time now is 05:58 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0