- Home /
Multiple languages support
I want to add multiple languages support for 2d game such as japanesse, french etc. At present game exist with english language only. I have created text with tk2dTextMesh. If I directly pass another language content in text field then it does not appear on screen.
Any how I want to add support for multiple language but did't find any way for it. Here I am asking for just display purpose not anything else. I want some way so that text appear on screen. Please give some help in this.
Answer by kwmx · Dec 28, 2014 at 08:09 PM
I have used something similar for a game i made where i added Arabic support. You can use Application.systemLanguage to detect the language of the system. Make a script and have a code on start. Here is a quick example (C#).
void Start(){
if (Application.systemLanguage == "Arabic"){
guiText.text = "العربية";
}
}
Your answer
Follow this Question
Related Questions
Find which button call click method in 2d Toolkit 1 Answer
Generate Fixed Distance String 1 Answer
Know Which Button is Clicked 0 Answers
Font blurring in Ipad 0 Answers
creating a private float variable that shows the amount of time the text 0 Answers