Advice wanted on making a site multi language please.

Discussion in 'Programming' started by ritchie111, Dec 8, 2008.

  1. #1
    Hi As the title sugests really .

    I am looking into making my game multi language ,
    What would this invole?
    Would it take a long time to do.?
    Can it be done an easy way.?
    Is there any scripts that would do the job in question for me?

    Basically any advice would be great.
     
    ritchie111, Dec 8, 2008 IP
  2. pitagora

    pitagora Peon

    Messages:
    247
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Well that depends. You didn't specify what game. Is it a windows application or a web application? What language do you use? ASP.NET or php? Since you are asking about scripts I suppose it's a web application. Depending on the language you use the changes may be minimal, or substantial. ASP.NET has a thing for this called localization. You generate resource files for each page, translate them and ad 2 lines of code to your page and it's done. In PHP it's more complicated since there are no such 'hidden and implicit' mechanisms in place. For each string you render you need to decided the language and then pull it from an xml file or a database.
     
    pitagora, Dec 9, 2008 IP
  3. crivion

    crivion Notable Member

    Messages:
    1,669
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    210
    Digital Goods:
    3
    #3
    Well,
    there are many options,
    but, basically and most common there must be created a config file where you put alternatives of english or other default language into array, and then you need to replace in every file the array inputs, no more word echoing if you get me.
    pm me if you have a budget
     
    crivion, Dec 9, 2008 IP
  4. webdesigners

    webdesigners Banned

    Messages:
    534
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    60
    #4
    Yea it will take some time plus you will require excellent multilanguage based peoples to hire & work with them.
     
    webdesigners, Dec 9, 2008 IP
  5. ritchie111

    ritchie111 Peon

    Messages:
    279
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Its an rpg game and is mostly php and java.

    Thanks for the replys :)
     
    ritchie111, Dec 9, 2008 IP