Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 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
7
Question by justbecrazy · Feb 08, 2012 at 07:11 PM · language

How to make a game in multi-languages version?

I would like to make a game in different languages so that I will be able to put it on APP STORE in different regions. So how is it normally made in Unity3D? Are you make it in totally different Projects? Or, If I like to integrate these all versions into one single project, any hints about how to make it? Thank you very much!

Comment
Add comment
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

9 Replies

· Add your reply
  • Sort: 
avatar image
5

Answer by Dacke · Jun 27, 2014 at 11:29 AM

int lang = 0;

//Insert in array number of langages and number of words in array

string[,] names = new string[4, 4] {

 {"New Game","Score","Options","Exit"}, //English  

 { "Nova Igra", "Poeni", "Opcije", "Izađi" }, //Serbian  

 { "新游戏","点","选项","退出" }, //Chinese  

 { "Новая игра", "Очки", "Параметры", "Выход" } //Russian

};

//for New Game button

if(GUI.Button (new Rect(0,0,100,50), names[lang,0]...

//for Score button

if(GUI.Button (new Rect(0,0,100,50), names[lang,1]...

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
avatar image
2

Answer by StarCmd · May 10, 2015 at 06:46 PM

Also you can read http://forum.unity3d.com/threads/add-multiple-language-support-to-your-unity-projects.206271/

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 illustir · Oct 09, 2015 at 12:25 PM 0
Share

Unity does not have built-in i18n support?

avatar image
1

Answer by FLASHDENMARK · Feb 08, 2012 at 08:08 PM

Why don't you ask the user what language he prefers and then do something like this:

 if(English)
     //Draw GUIs and stuff in English
 else if(Spanish)
     //Draw GUIs and stuff in Spanish. 

Very simple system, but It gets the job done.

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 justbecrazy · Feb 09, 2012 at 04:49 PM 1
Share

Thanks. Is it possible to make something automatically like: if the app is on US market, it will display English And if it's on Spanish market, it will display Spanish?

avatar image jacobschellenberg · Feb 09, 2012 at 05:16 PM 0
Share

Great suggestion. I think that will work rather well. Just having a menu with an "Options," section will allow the player to switch between Spanish and English. You could even have a pop up at the start of the game for the end user to select their language. Save that option in PlayerPrefs, check if they have a PlayerPref option set, and if they do, don't ask the question again. Relatively simple. Good luck with it!

avatar image Bunny83 · Jun 15, 2012 at 01:31 PM 3
Share

You can get the system language with Application.systemLanguage. However the translations have to be done manually... Even Google translate which is one of the best automatic translators out there, is horrible :D

If i would consider implementing multi-language support, it should be easily extendable for more languages. The main problems are: In some languages the same content has a way different size and it can break your layout. Also some languages require special fonts. Storing the content seperately is always a good idea. That way you can give that file to someone who's going to translate all the stuff for you.

edit: If you plan to use Application.systemLanguage you should still offer a menu to change the language. I have most of my games in german, but i play them mostly in english since the translation is really bad from time to time ;) So use the systemLanguage to set the language initially.

avatar image illustir · Oct 09, 2015 at 12:24 PM 0
Share

This is nonsense. The app should localize itself based on what the system setting is.

avatar image Olly · Jun 25, 2016 at 05:44 PM 0
Share

I don't know if this is a joke cause this is the worse implementation of languages.

avatar image
1

Answer by $$anonymous$$ · Jun 15, 2012 at 01:00 PM

The best solution I found: http://u3d.as/content/rodrigo-barros/my-menu

Comment
Add comment · Show 3 · 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 Bunny83 · Jun 15, 2012 at 01:25 PM 0
Share

:D You didn't found it... it's your solution :P

Anyway, looks promising, but some examples would be great. You would basically would buy a pig in a poke ;)

avatar image $$anonymous$$ · Aug 15, 2012 at 10:53 AM 0
Share

Yes, you catch me :). Anyway you can found an video tutorial in unitynoobs.blogspot.com and a video showing the my$$anonymous$$enu system running on iphone.

avatar image robsongdev · Mar 05, 2013 at 12:53 PM 0
Share

That's great! Excelent job, Rodrigo. Congratulations!

avatar image
1

Answer by Tuboy-Thers · Sep 14, 2013 at 06:29 AM

Hey guys, this is how to make a multilanguage system, nice explained everything and also shown how to use : https://www.youtube.com/watch?v=Py09NvybaXc :)

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
  • 1
  • 2
  • ›

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

20 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 avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How is the relationship between Rodrigo Barreto de Oliveira and Unity? 1 Answer

Programming Language 3 Answers

Where is configuration of launcher window? 1 Answer

unity local language integration problem 2 Answers

C# scripting and Javascript in the same project? 3 Answers


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