Displaying texts written in languages that are not English, using 'Keyboard Input'
Hey there. I was wondering if 'Keyboard Input' can be used in multi-languages. For ex if a user wants to type in Japanese can it be done? I was trying to make this happen but it seems like only English can be displayed when I type a word in, using 'Keyboard Input'. I keep getting 'Invalid uft-8' with other languages.
I tried using fonts that support Japanese or Korean and wrote Japanese or Korean but that doesn't seem to be the problem.
I want this because I want to let users type in their 'hero's' name at the beginning with their local language.
The funny thing is that I can display a word written in languages that are not English using 'Display Text' only, but when I try to display a text that I typed in using 'Keyboard Input' there is an error.
Does anyone know what the problem is, or is it something that GS doesn't support yet?
Comments
Try changing the font in Display Text to Noto Sans CJK SC. The other fonts don't support Chinese, Japanese, Korean, Russian Etc. This may solve your problem.
I am having a similar problem. I am trying to localise buttons and label text in my app using tables and detecting platform language. Unfortunately the font i like in english doesn't doesn't display the above languages and 'Noto Sans' looks terrible for my game.
You can import your own fonts. I am going to look for a font that supports all languages.. Let me check and I'll update later.
Update: The only font that supports the most number of languages is Noto
https://www.google.com/get/noto/help/cjk/
This is included by default in GS. If you want a bolder version of it you can download it from the link above and add it to GS.
However this brings me to my next problem: How can I have different fonts for different languages. Ex:
Font: Squada One for Non-CJK languages
Font: Noto for CJK languages
Is this possible? Anyone? Or should I be starting a new thread for this?