User Tag List

Results 1 to 8 of 8

Thread: Making a Multi-Language Version of an Application

  1. #1
    Clicker Multimedia Fusion 2 DeveloperSWF Export ModuleUnicode Add-on

    Join Date
    Jul 2006
    Location
    A Happy Place (eg. My Head)
    Posts
    44
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Making a Multi-Language Version of an Application

    Finally got the finances to order my version of MMF 2. Hopefully will get it soon (if I only will have time to toy around with it make some experiments!).

    I was thinking that what would be the best and most efficient way, consuming as little memory as possible, to make a multi-language application in MMF? Surely the best way can't be just self editing all the objects and get them translated?

    Is it ok to get the application read the legends (?)/object titles from a text file as "illustrated" below:
    Code:
    a1=This program was created by...
    
    b1=Detta program är skapad av...
    
    c1=Krng'le purgu'aa le-scuata'naa...
    Using text files would allow others to translate the program into their native language if needed. That would eliminate the need to mess up with the source file itself? Or is there a better way to implement a multi-language version of an MMF application?

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module

    Join Date
    Jun 2006
    Posts
    1,324
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Making a Multi-Language Version of an Application

    Multi-language is not simple whatever you do. A three word phrase in one language can take fifteen words in another.

  3. #3
    No Products Registered

    Join Date
    Aug 2006
    Location
    Westcountry, UK
    Posts
    862
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Making a Multi-Language Version of an Applicat

    What many games & applications have is a file which has all the different languages in it. If it's external you can also "patch" it or edit it.

    Example ini file:
    [lang]
    currentlang=x
    [lang1]
    1=menuoption1
    2=menuoption2
    [lang2]
    1=menuoption1
    2=menuoption2
    e.t.c...

    at the start of the level set the group 'retrieve current lang, lang'. Then simply set each text to each item at runtime

  4. #4
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2006
    Posts
    2,023
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Making a Multi-Language Version of an Applicat

    you could do "lang=" 1, 2 or 3 and have the strings in the ini like "001_1" and "002_2" then use INI_String("001_" + str$(INI_Value("lang"))) if that makes sence

  5. #5
    No Products Registered

    Join Date
    Aug 2006
    Location
    Westcountry, UK
    Posts
    862
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Making a Multi-Language Version of an Applicat

    thats more difficult but you can have grouping that way
    e.g. "english.help.001"

  6. #6
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Sphax's Avatar
    Join Date
    Jun 2006
    Location
    Paris, France
    Posts
    4,454
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Making a Multi-Language Version of an Applicat

    Personally I use multi INI files in one "lang" folder.
    For example :
    ./lang/en.ini
    ./lang/fr.ini
    ./lang/de.ini
    ...

    With this method all languages files can be patched individually.

  7. #7
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export Module
    Tiny's Avatar
    Join Date
    Jul 2006
    Location
    Sweden
    Posts
    598
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Making a Multi-Language Version of an Applicat

    I also use an INI file in a 'data/lang/' directory. That way everything can be translated more easy to other languages.

    To compensate for "long worded languages" (which Sarah pointed out) I have made extra room in the places where texts are exposed.
    If you already know (and have) the other languages you can test them and see how much space you need.

  8. #8
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Making a Multi-Language Version of an Application

    Well, I was going to be all clever and say externalise your strings, but everyone else has already suggested it <img src="/center/images/graemlins/smile.gif" alt="" />

Similar Threads

  1. Making a application
    By Redsquirrel in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 27th March 2013, 06:54 PM
  2. Wanted: Cheap or trial version? I'm making my first crappy game w/ purchased mmf2
    By puzzele in forum SWF/Flash Export Module Version 2.0
    Replies: 8
    Last Post: 25th February 2013, 11:35 PM
  3. Multi- Language System | Sistema de Multi Linguagem
    By Guilherme in forum File Archive
    Replies: 0
    Last Post: 10th January 2013, 11:45 PM
  4. Multi-language support/localization?
    By colej_uk in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 5th September 2012, 03:25 PM
  5. Unicode Version:Problem with the language settings
    By Ham in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 9th November 2010, 11:59 AM

Posting Permissions

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