Language Script

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Vikram M Gautam

    Language Script

    hello,

    does any know of any php script which can change the language of the
    webpage on the fly, i have seen many websites which have several
    language options to choose from

    thanks
  • John Dunlop

    #2
    Re: Language Script

    Vikram M Gautam wrote:
    [color=blue]
    > does any know of any php script which can change the language of the
    > webpage on the fly,[/color]

    Look at the Accept-Language header the user sends you and serve
    content in her preferred language. Apache will do this for you with
    mod_negotiation . See

    "Apache Content Negotiation",

    [color=blue]
    > i have seen many websites which have several language options to
    > choose from[/color]

    Ah, are you talking about the user manually selecting her preferred
    language?

    --
    Jock

    Comment

    • R. Rajesh Jeba Anbiah

      #3
      Re: Language Script

      info@buyselloff ers.com (Vikram M Gautam) wrote in message news:<4e2b4270. 0405101503.790c 2c66@posting.go ogle.com>...[color=blue]
      > hello,
      >
      > does any know of any php script which can change the language of the
      > webpage on the fly, i have seen many websites which have several
      > language options to choose from[/color]

      Perhaps my post on this subject may help you
      <http://groups.google.c om/groups?selm=abc 4d8b8.040401213 8.40881f74%40po sting.google.co m>


      --
      | Just another PHP saint |
      Email: rrjanbiah-at-Y!com

      Comment

      • nice.guy.nige

        #4
        Re: Language Script

        While the city slept, Vikram M Gautam <info@buysellof fers.com> feverishly
        typed:
        [color=blue]
        > hello,
        >
        > does any know of any php script which can change the language of the
        > webpage on the fly, i have seen many websites which have several
        > language options to choose from[/color]

        As an aside, whichever of the methods you adopt to present the language on
        the site, make sure that you have the text translated by a professional (or
        at least a very competent speaker of the language), and not by an automated
        service such as Google's language tools.

        As an example I took your original post to Google's language tools (and
        modified some spelling and punctuation to at least give it a fighting
        chance). I translated the following from English to French: "does anyone
        know of any php script which can change the language of the webpage on the
        fly? i have seen many websites which have several language options to
        choose from"

        Which gave the following: "est-ce que n'importe qui sait d'un manuscrit de
        php qui peut changer la langue du webpage en marche? j'ai vu beaucoup de
        websites dont ayez plusieurs options de langue à choisir"

        Which I then translated back to English, giving the following: "does no
        matter who know of a manuscript of php which can change the language of the
        webpage moving? I saw many websites of which have several options of
        language to choose"

        Cheers,
        Nige

        --
        Nigel Moss.

        Email address is not valid. nigel@nigenetDO G.org.uk. Take the dog out!
        http://www.nigenet.org.uk | Boycott E$$O!! http://www.stopesso.com
        In the land of the blind, the one-eyed man is very, very busy!


        Comment

        Working...