User Tag List

Results 1 to 10 of 10

Thread: localization

  1. #1
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleInstall Creator Pro

    Join Date
    Sep 2008
    Location
    Melbourne, Australia
    Posts
    227
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    localization

    I plan to release my product in various languages. What is the best workflow to do this?

    can I create an xml or ini file listing all the text in various locales and could they handle different fonts?

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleInstall Creator Pro

    Join Date
    Sep 2008
    Location
    Melbourne, Australia
    Posts
    227
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: localization

    hmmm, maybe I wasn't clear enough with my question?
    Or perhaps it's just a silly question that's common knowledge.

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,363
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)

    Re: localization

    Yes you can use both ini's and xml to do this. MMF2 has some powerful ini and xml extensions. MMF doesn't use localization files or anything like that, so you would need to make them yourself.

    Here's how it could look like using an ini file.

    The file:

    [Norwegian]
    hi = hei
    welcome = velkommen
    thank you for playing = takk for at du spilte

    [Swedish]
    hi = hej
    welcome = välkomna
    thank you for playing = tack för at du spelade

    ---

    Then in mmf2 you set the ini group to either Norwegian or Swedish and read the items.

    * start of frame
    - ini: set Group to "Norwegian"
    - string: set alterable string to ini Item("welcome")

    * upon pressing escape
    - string: set alterable string to ini Item("thank you for playing")

    It's actually quite simple, but you have to think about it BEFORE you make your software

  4. #4
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleInstall Creator Pro

    Join Date
    Sep 2008
    Location
    Melbourne, Australia
    Posts
    227
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: localization

    That is awesome info, thanks again Popcorn... you're like my mmf angel or something along those lines lol.

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,363
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)

    Re: localization

    Hehe, no problem! It's always fun to help nice people


  6. #6
    Clicker Fusion 2.5
    Fusion 2.5 (Steam)

    Join Date
    Sep 2007
    Location
    Austria
    Posts
    289
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: localization

    I use the global variable L for language.
    L=0 -> German
    L=1 -> English

    I have two string objects, one for each language with all the paragraphes in it.


  7. #7
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleInstall Creator Pro

    Join Date
    Sep 2008
    Location
    Melbourne, Australia
    Posts
    227
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: localization

    Hey that's actually quite a good way too Leander. That way you could possibly send separate files to each localization company (if more than one for multiple languages)...possibly.

  8. #8
    Clicker Fusion 2.5
    Fusion 2.5 (Steam)

    Join Date
    Sep 2007
    Location
    Austria
    Posts
    289
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: localization

    Inis are better because you can edit them without MMF2's editors. It's quite easy to rewrite texts or correct typos with Win's editor.

    As my game uses many buttons I decided to implement bilingual versions inside the application.

    When the game is run for the first time the user can choose between two languages. His choice is set to global value L and saved to settings.ini. I also use M for sound & music. 0 = sound on, 1 = sound off. This setting is also saved an the same ini.

    I use many buttons in two different version. e.g. a German version of new game, controls, battle mode etc. and an English one. If global value L = 0 then create German buttons and use German string object. If global value L = 1 then create English buttons and use English string object.

    Ini strings are better as I said before but as I use many buttons (actives, jpeg format) I went for my method of adding bilingual versions.

  9. #9
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,363
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)

    Re: localization

    Yes, ini's are better if you want easier customization.
    You can also have one ini file for each language if you rather want that. Then in the event editor you simply tell MMF which file to read from according to what language is selected.

  10. #10
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleInstall Creator Pro

    Join Date
    Sep 2008
    Location
    Melbourne, Australia
    Posts
    227
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: localization

    Ahh great! ini files it is. I'd most likely create one for each language.

    Thanks Leander and Popcorn, for the very helpful information.

Similar Threads

  1. Localization
    By Popcorn in forum Articles
    Replies: 3
    Last Post: 16th December 2013, 01:07 PM
  2. Help me localization to multilanguages
    By crayzorechos in forum iOS Export Module Version 2.0
    Replies: 9
    Last Post: 15th March 2013, 11:17 PM
  3. How localization gonna be handled ?
    By Rushino in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 26th July 2012, 08:46 PM
  4. Google Map with localization possible?!?
    By StingRay in forum iOS Export Module Version 2.0
    Replies: 3
    Last Post: 12th October 2011, 12:53 PM
  5. Localization, having all text in one file
    By ionside in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 29th January 2009, 08:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •