How can I have my game translated to multiple languages?

LavitzBrLavitzBr Member Posts: 23
edited July 2012 in Working with GS (PC)
Would I need to create the same scenes with different languages in?

Best Answer

  • HC_DKHC_DK Posts: 92
    edited July 2012 Accepted Answer
    You can use a table to save text or image names.

    Have a global attribute (LANGUAGE), index or integer, english = 1, Dutch = 2 and so on.

    Use the LANGUAGE attribute as the ROW or COL depending on how you build your table.

    Then have a CHANGE ATTRIBUTE: self.Image to tableCellValue(YOURTABLE, LANGUAGE, X)
    or DISPLAY TEXT: tableCellValue(YOURTABLE, LANGUAGE, X)

    That is how I would do it instead of having all those scenes.
    Hope you get the picture.

    HC

Answers

  • LavitzBrLavitzBr Member Posts: 23
    You can use a table to save text or image names.

    Have a global attribute (LANGUAGE), index or integer, english = 1, Dutch = 2 and so on.

    Use the LANGUAGE attribute as the ROW or COL depending on how you build your table.

    Then have a CHANGE ATTRIBUTE: self.Image to tableCellValue(YOURTABLE, LANGUAGE, X)
    or DISPLAY TEXT: tableCellValue(YOURTABLE, LANGUAGE, X)

    That is how I would do it instead of having all those scenes.
    Hope you get the picture.

    HC
    I'll try that.
    Some other ideas, guys?

  • tutysestutyses Member Posts: 134
    actually i would do it as henrik said, its easy, fast and very easy to modify
  • firemaplegamesfiremaplegames Member Posts: 3,211
    What Henrik said is definitely the way to go.
Sign In or Register to comment.