DCurrent / openbor

OpenBOR is the ultimate 2D side scrolling engine for beat em' ups, shooters, and more!
http://www.chronocrash.com
BSD 3-Clause "New" or "Revised" License
901 stars 121 forks source link

"Language" option on System Options #228

Open PauloHPBender opened 3 years ago

PauloHPBender commented 3 years ago

Is your feature request related to a problem? Please describe. I'm working on a commercial project with OpenBor and I'd like to feature multiple languages on the game.

Describe the solution you'd like With "translation.txt" file, we are capable of changing OpenBor's interface, but we there's no ingame option for a selectable language, nor there are configurations for the translation.txt to feature another language.

My proposed solution: files called "XXX_translation" or "translation_XXX", with XXX being a Language code (according to ISO 639-2 https://www.loc.gov/standards/iso639-2/php/code_list.php). While in the Options Menu, a "Language:" option allow the use to cycle through all the languages available.

Describe alternatives you've considered None so far, I guess. I was wondering about the possibility of making several translation.txt files and guiding the user into replacing those files manually, but it seems counter intuitive and not nice for a commercial project.

Additional context Storing which language is being used in some globalvar would help a lot with visual effects that emulate text.

msmalik681 commented 3 years ago

For in game text/story this should not be a problem you can make a language selection but on a system wide level like menus and "press start" text to change need to check with @DCurrent if that would be a possibility.