Jump to content
  • Advertisement
Sign in to follow this  
Petar Titelski

Multi Language

This topic is 4012 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Id like to make multi language game, how do you code that in C++? I want all text to be defined in one file e.g. Language.h I want each line of text in game to be available in several languages, so when coding, I want to use something like: print(text_Welcome[selectedLanguage]) and that line would print "welcome" or "???????" or other, depending on the selectedLanguage Variable. anyone has experience with this in C++?

Share this post


Link to post
Share on other sites
Advertisement
The term you are looking for is 'localization'. I don't know any libraries, but that is the term to google if you are looking for resources!

Best of luck!

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!