Translating text
Odds are, if you are creating a game with text in it, you might want to translate that text. To make sure your games are easily translatable, there are a few key things that you can do to make the transition to different languages easier.
You want to make sure that the text you plan to translate will still fit within the necessary area if it gets longer or shorter when translated. You can accomplish this by using the Align By Geometry and Best Fit properties of the Text component. This will make the text fit within the required space. You could also use the Content Size Fitter (which we discussed in Chapter 7) to make sure any Panels around the text will shrink or expand to fit perfectly around the text. You can use the first option if you don’t mind the font size varying across languages. You can use the second if you want the font size to remain consistent across languages. Keep in mind that some languages can render a single phrase in a very small amount...