Translating games into a different language?

Hello,
I have a question. Now that I finished writing a 3D game, and have it published, what would be the necessary steps to take to translate everything into a different language (like Korean, or even Arabic, which writes from left to right instead of from right to left)? What if the ‘Ascii’ of THEIR language doesn’t match our’s? Would that mean that functions like int.ParseInt() would not be ‘compatible’ and everything would have to be rewritten? Is there an easy way to change all the strings that show up in the game (including what shows up on the console or in 3D text) without having to write the game in their language? How does all that work? Can a Unity program developed in English read documents that are written in other languages, and process them as strings, integers and floats (like we do), and what if I wanted to do arithmetic with ‘normal’ symbols in English (like +, -, *, / and %)? Thank you for any information.

Michael S. Lowe

Well… it’s a pretty big topic. Firstly, I hope you don’t have any hardcoded text! :smile:

Fortunately, C# already deals with a lot of that pain for you in its string class, but you may still need to be culture aware when parsing and formatting strings.

Also, you’d better get used to Unicode. Forget about ASCII. Also fortunately, UTF8 is largely compatible with const char text (from the C/C++ world), so you can largely switch over to UTF8 with minimal disruption to your code.

I’d start here: Learn game development w/ Unity | Courses & tutorials in game design, VR, AR, & Real-time 3D | Unity Learn

1 Like