languages for beginners

  • #1, by blanoMonday, 10. September 2018, 08:45 6 years ago
    Hello friends!
    can anyone explain me step by stem how to add a new language? i'd like some tutorial from start to end 'cause i can't find any around the web!

    i can erase the topic when solved, if needed, but i think a little tutorial can help noobs like me! XD

    Newbie

    68 Posts


  • #2, by esmeraldaMonday, 10. September 2018, 09:58 6 years ago
    Sebastian explained it in his tutorials, but they are in german.

    First you go to the "game info" tab. There you can add languages. (see image) 

    When writing text for your characters you can then choose the language via the little flag. (image) Or you can translate the texts via the "texts"tab.

    And you need a button for the player to change the language. Create a button for each language in a menu or interface. Put an action there. Like: action "leftclick" - action part "change language to" [german] (image)

    That's it.

    If you want to change some objects when changing the language (like menu buttons) you can do this by creating a condition or value that you change when switching the language.

    Key Killer

    508 Posts

  • #3, by blanoMonday, 10. September 2018, 12:33 6 years ago
    Thank you Esmeralda!! super helpful!! thank u again

    edit: why i can't see the little flag icons whe i set different language? i see just a gray flag with "?" on it

    Newbie

    68 Posts

  • #4, by afrlmeMonday, 10. September 2018, 12:54 6 years ago
    depends on the language you add & how you name it. they haven't included flags for each language - only the most common ones. language names should be written in English, like so... English, German, French, Spanish, Italian, Chinese, Russian, etc.

    Imperator

    7278 Posts

  • #5, by esmeraldaMonday, 10. September 2018, 13:04 6 years ago
    There seems to be flags only for english, german, french and spanish as far as I can see...

    Key Killer

    508 Posts

  • #6, by esmeraldaMonday, 10. September 2018, 13:04 6 years ago
    oops.. double post

    Key Killer

    508 Posts

  • #7, by blanoMonday, 10. September 2018, 13:07 6 years ago
    ok just details, understood now! thank you guys!

    Newbie

    68 Posts

  • #8, by afrlmeMonday, 10. September 2018, 15:36 6 years ago
    You can actually add more flags if you like. You just need to add 16x16px png files to program files (x86) > skins > 1 (& 2) > png > languages folders. They should be named like so: lang_chinese.png, lang_russian.png. The engine seems to automatically select the correct flag based on the name you give the language, so if you create a language & call it chinese or Chinese, then it should automatically display the correct flag providing you added one for that language.



    Imperator

    7278 Posts

  • #9, by sebastianMonday, 10. September 2018, 20:30 6 years ago
    You can actually add more flags if you like. You just need to add 16x16px png files to program files (x86) > skins > 1 (& 2) > png > languages folders. They should be named like so: lang_chinese.png, lang_russian.png. The engine seems to automatically select the correct flag based on the name you give the language, so if you create a language & call it chinese or Chinese, then it should automatically display the correct flag providing you added one for that language.



    cool, didn't know this smile

    Thread Captain

    2346 Posts

  • #10, by afrlmeTuesday, 11. September 2018, 00:53 6 years ago
    Me either, but I tested it earlier & it worked.

    Imperator

    7278 Posts