/    Sign up×
Community /Pin to ProfileBookmark

Multi lingual web site

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.

to post a comment
PHP

2 Comments(s)

Copy linkTweet thisAlerts:
@m_sahalyMar 19.2007 — 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 .
Copy linkTweet thisAlerts:
@bokehMar 19.2007 — Think carefully about your logic before you start. There are two methods:[LIST]
  • [*]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.

  • [/LIST]
    Although method one seems attractive on the surface search engines will only ever list the site in the default language.
    ×

    Success!

    Help @Subbulakshmi spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 6.17,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @nearjob,
    tipped: article
    amount: 1000 SATS,

    tipper: @meenaratha,
    tipped: article
    amount: 1000 SATS,

    tipper: @meenaratha,
    tipped: article
    amount: 1000 SATS,
    )...