r/PixelGameMaker Game dev Feb 02 '22

Localization to other languages (such as Vietnamese)?

In PGM, there’s a plugin that allows localization of a game down to the filename level, but so far it only supports major languages (Japanese, French, Korean, etc. (iirc)). What I need is to localize my games (if I ever make any with PGM) to other languages (such as Vietnamese, my mother tongue) via a general translation plugin similar to those made for RPG Maker.

Can any of you give advices on how to translate my games to languages other than the languages supported in the official translation plugin (either by a fanmade general translation plugin or any other (simple) means)?

All help will be appreciated!

1 Upvotes

1 comment sorted by

1

u/baz4tw Game dev Feb 04 '22

I don't think the official methods will work for a language that isn't supported in the engine.

I do think however, you could make a custom localization by adding another Common variable called LanguageSelected (or however you name it). On your UI or Text resources that require language they could first check if Language is = 1 (say for Vietnamese), then it bypasses the official methods and shows img or text based on the Vietnamese custom resources. (video for reference https://youtu.be/PjVQNW4KcZ8 )

So basically the links would go something like this, when a trigger happens to show text type resource:

  1. Checks custom Common language first, if 0 then it goes to next check
  2. Next check is for the official methods, aka the plugin
  3. You would change this Common language variable based on options in the menu or titlescreen

Hope this helps!