Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
3
Question by ben.aten · Apr 02, 2015 at 12:42 PM · language

Display regional language texts in unity

Hi, We are using unity 5 for development. We need to display our regional languages such as Tamil, Malayalam, Hindi, Gujarati in the game scene, but when these language texts are copied in text area its shown re-edited characters and special characters, even we tried to display using the same through script (in script it displaying fine) and xml file it behaving the same. Searched in unity forums but no help available except some 3rd part font creators like TextMesh Pro. Could you please help us to resolve this issue.

Thanks, Ben

Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image DoTA_KAMIKADzE · Apr 02, 2015 at 02:06 PM 0
Share

Here you have, I'm using just clean Unity's example project as background and default Arial font that comes along with Unity, so no tricks. Just changed Font size and color in order to see something ))

alt text

Also I used google translate to get Hindi, so if it is nonsense text then complain to google :)

P.S. What I'm trying to say is - you have something on your end and we don't know what, provide some more info, maybe you have messed with codes/extensions/plugins or whatever else.

avatar image chandruchiku · May 27, 2016 at 04:02 PM 0
Share

Anyone got a solution for this? Its 2016 and problem exits.

avatar image hitarthdoc1994 · Jul 21, 2016 at 11:56 AM 0
Share

@DoTA_$$anonymous$$A$$anonymous$$I$$anonymous$$ADzE

What you see written in Unity in Hindi should look like this:

"में हिंदी का उपयोग कर सकते हें"

हिंदी is not rendered Correctly. The " ि " gets rendered After it should be.

and the "ं" gets masked by the " ि ".

You can try the same thing in any other Text Editor it will look as seen on the Text above.

I apologize for finding a fault but I'm also stuck on this Problem.

I have been going through the following in Unity Forums: http://forum.unity3d.com/threads/unicode-font-rendering-broken-with-devanagari-fonts.251788/

Seems to have given solutions for Hindi but not Gujarati.

4 Replies

· Add your reply
  • Sort: 
avatar image
3

Answer by nareshkumaryakkala · Mar 12, 2016 at 02:48 PM

This is the issue with unity font system, Unity doesn't read/apply GPOS and GSUB tables. I have created custom font asset and custom text component to solve this issue.

Please check my blog post regarding this.

unity-text-rendering-issue

Regards, Naresh Kumar Yakkala

Comment
Add comment · Show 5 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image arunkarnann · Mar 12, 2016 at 03:09 PM 1
Share

you have done a great job,Thanks a lot,$$anonymous$$an

avatar image chandruchiku · May 27, 2016 at 06:32 AM 1
Share

Thanks,. I read your post on the link. But a detailed tutorial for beginners would be much helpful.

avatar image xysverma · Dec 13, 2017 at 04:41 PM 0
Share

It seems to be for Telgu & Tamil but not hindi ?

avatar image yogee · Apr 10, 2019 at 07:43 AM 0
Share

Hi Naresh, it does not read space character. any help?

avatar image joyjeba28 · Feb 04, 2020 at 05:54 AM 0
Share

Hi naresh. I have tried your approach. Its working but how can i apply it for UI text? Will it support multi line sentence.

avatar image
0

Answer by dr3th · Apr 02, 2015 at 06:18 PM

You need a Font package the supports the Languages, if the font doesn't have the supported Devanagari characters for hindi and so on, it will just render as nonsense.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image ben.aten · Apr 03, 2015 at 06:09 AM 0
Share

Hi, Thanks for your reply. What happened to me is, when i enter the texts translated in Tamil, $$anonymous$$alayalam in the text area, its shown differently for some of the characters (single characters are split up).

Thanks, Ben

avatar image
0

Answer by Tarlius · Apr 03, 2015 at 08:20 AM

If its not the fonts, you should check your file encoding. Unity (and c# in general) defaults to utf8. Its possible for example that your text editor is opening and saving in a regional format rather than utf8 (for Japanese you get this kind of fun when someone uses shift-jis instead of utf8).

I would also recommend avoiding the use of non-ascii characters in scripts... Monodevelop's support is somewhat patchy (and you're also open to the same encoding problems I mentioned above)

Comment
Add comment · Show 4 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image ben.aten · Apr 09, 2015 at 05:48 AM 0
Share

Hi Tarlius, Thanks for the reply. Could you please let me know the steps and which files i have to store in utf-8 format.

$$anonymous$$y issue if the word 'ത്ത്' in malayalam language is display as ത് ത (as individual characters) when its in unity. In scripting & xml its shown fine.

avatar image Tarlius · Apr 12, 2015 at 12:50 AM 0
Share

Could be a problem converting between encodings, but I don't know much about the language :/ As the others have said it could also be a problem with fonts though. Encoding problems usually just give you squares and/or Chinese characters though.

avatar image Arunkarnan · Nov 15, 2015 at 05:17 PM 0
Share

Hi Guys, me too facing problem i am using Tamil language in my game,i tried out more than 20 Tamil fonts.The problem was with Unicode and some dll.i am not an Expert in those,Seeks someone help.Please some one come up to help us.I will provide all assistance with the language.

avatar image joyjeba28 Arunkarnan · Jan 27, 2020 at 05:20 PM 0
Share

Have you found any solution? @Arunkarnan

avatar image
0

Answer by nayakshasvat · Aug 07, 2020 at 09:59 AM

You can check out this new asset, works with both Text and TextMeshPro. Cheapest and Best one on the Asset Store. Even works with the Sanskrit language.

https://assetstore.unity.com/packages/tools/input-management/hindi-text-corrector-175758

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

14 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Is it possible to for a user to add another Mono language to Unity? 2 Answers

How to change monodevelop errors & warnings language 3 Answers

Does Unity have an interface in French? 1 Answer

Problem getting month name in Malay language,How can i get current month name in Malay language? 0 Answers

Picking a language... 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges