multilingual?

Discussion in 'PHP' started by lowridertj, Mar 27, 2008.

  1. #1
    possible on a site without having to build separate versions?

    Please let me know urgent need.

    tj
     
    lowridertj, Mar 27, 2008 IP
  2. SimThePhpCoder

    SimThePhpCoder Well-Known Member

    Messages:
    949
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    108
    #2
    you mean multilanguages? Your need to create different php files which stores the text in each of its own variable like

    lang['word'] = "word";
    lang['who'] = "who";

    then call that php file instead of displaying text regular you display it by echo or print lang['word']; which would display the word word.
     
    SimThePhpCoder, Mar 27, 2008 IP
  3. lowridertj

    lowridertj Well-Known Member

    Messages:
    2,882
    Likes Received:
    40
    Best Answers:
    0
    Trophy Points:
    195
    #3
    I see thats kinda what I was afraid of..

    So no simple drop in and translate feature

    Thank you for your feedback..

    TJ
     
    lowridertj, Mar 28, 2008 IP