Making your Games Multilingual via auto-loading JSON files.

Discussion in 'Tutorials' started by YawningDad, Jan 3, 2019.

  1. YawningDad

    YawningDad Member

    Feb 11, 2018
    GM Version: GMS2
    Target Platform: All except HTML5
    Download: see video
    Links: na
    Summary: How to use JSON locale data to create multi-language games.

    I put together a video tutorial (my first ever) on dynamically loading JSON locale files and using them to make your game multilingual. This system lets contributors drop in new/updated locale files for individual languages, meaning you wouldn't need to recompile or redistribute your game just to add/update languages. It also discuses the challenges of ensuring your font(s) can render the characters of other languages.

    I hope it's of use to someone!

    Last edited: Jan 4, 2019
  2. Waterticket

    Waterticket Member

    Nov 22, 2016
    Oh that's very interesting
    Thanks! I must insert this one in my game!
    YawningDad likes this.
  3. timartinelli

    timartinelli Member

    Feb 25, 2019
    It works perfectly.

    Very good friend!

    Thank you very much.

    One question, how do I set a button for each language, to put this in a menu?
  4. Sorinkun

    Sorinkun Member

    Mar 7, 2019
    very helpful! will definitely save this for later use
  5. Gradius

    Gradius Member

    Jun 21, 2016
    I'd really say plain CSV is a better way to go as it's a far easier system for other people to work with. Unless you have a custom interface to write to them or convert other files to them, JSON (and XML) are really unwieldy and time-consuming.

    A CSV file can edited straight from Excel, Google Docs, or Libreoffice and is going to be so much easier for your translators. JSON is human-readable, but it's not that fast a format to work with in a text editor alone.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice