Click to See Complete Forum and Search --> : Multi lingual web site
Subbulakshmi
03-19-2007, 05:41 AM
Hi
Iam creating a multi lingual website. I want all my static and dynamic contents in a web page to the chosen language.
How do i execute it in PHP?
Thanks in advance.
m_sahaly
03-19-2007, 07:03 AM
1 - try to use CSS in order to make use of the different directions for every langaue for example Arbic language will be from right to left and english language will be from left to right .
2 - include some thing like a dictionary file .. which includes the same file containing the same variable names with different values for it depending on the interface language .
3- in the DB try to put the whole data in the proper fields for every language .
bokeh
03-19-2007, 12:07 PM
Think carefully about your logic before you start. There are two methods:
One URI: the langauge of the page changes dependant on browser settings and cookies.
Two URIs: there are two different pages, one in each language.
Although method one seems attractive on the surface search engines will only ever list the site in the default language.