[ask] PHP Multi Language Website Concept

Discussion in 'PHP' started by pdfmania, Aug 23, 2009.

  1. #1
    Anyone know about PHP multilanguage website concept? I want to try to develop a website which has multi language feature. I want it can be in 2 or more languages and the contents can be added freely under specific language chosen. Any links or tutorials would be nice... Thanks in advance.
     
    pdfmania, Aug 23, 2009 IP
  2. gapz101

    gapz101 Well-Known Member

    Messages:
    524
    Likes Received:
    8
    Best Answers:
    2
    Trophy Points:
    150
    #2
    code igniter
     
    gapz101, Aug 23, 2009 IP
  3. crivion

    crivion Notable Member

    Messages:
    1,669
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    210
    Digital Goods:
    3
    #3
    crivion, Aug 24, 2009 IP
  4. renownedmedia

    renownedmedia Well-Known Member

    Messages:
    65
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    100
    #4
    I was going to recommend that as well! Its a great framework and has built in support for handling multiple languages.

    If you don't' want to take the route of a framework, I'd keep a database of all your textual content, keep a column for the language_id, and a separate table of languages, and store the chosen language in a cookie.
     
    renownedmedia, Aug 24, 2009 IP
  5. pdfmania

    pdfmania Peon

    Messages:
    213
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    @gapz101 and crivion thanks to the reference link
    @renownedmedia thanks too. so far in my mind, i have been thinking about adding language id field into tables that contain textual content as you suggest, i hope i'm on the right track..

    that's awesome pals.. thanks
     
    pdfmania, Aug 25, 2009 IP