Jump to content

Multiple languages without tons of global variables


Recommended Posts

Hi, everybody,

I'm trying to implement support for a couple of languages in a program, and maybe I'm being too obtuse but the only thing that occurs to me is having the same variables modified on a global scope whose content get chosen in a function that assigns a language or another according @OSLang. I bet there's something better than that.

Edited by Bresacon
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...