Building a Localization Tool in Unity - Part 1

preview_player
Показать описание
In this guide we're taking a look at how to build a quick and easy localisation system inside of Unity. In this part, we'll get build the base of the system and set up reading/writing from a CSV file, to translate our text properly in Unity.

Socials:

In the next part we'll take a look at extending the system to allow us to quickly search, edit and manage our localisation entries. So be sure to stay tuned!

Be sure to LIKE and SUBSCRIBE if you enjoyed this guide! Share the video for extra love!
Рекомендации по теме
Комментарии
Автор

BTW I will strongly recommend to go for separate files as translation tend to get bigger and once you will have 10+ languages that's 5-10mb of text... and for mobile games that's really matters... needless to say that loading smaller files (which you actually need) is much faster and consumes less memory. That's the reason I started to watch this tutorial, to replace bought ready solution which does not support splitting translation into multiple files. As for video - AWESOME tutorial!

rickloyd
Автор

Maaaan, most of my game is based off this channels tutorials so far haha, thank you so much for your tutorials, one of the best

AllDayBikes
Автор

This is exactly what I was looking for - thank you. I used it to add localization to my next game update. The tutorial was concise, and it's great to be able to use external files. Csv seems really simple, universal and flexible. It would be nice to be able to download the .cs files because of the various fixes we have to make in the comments, but I get that it's also a good way to learn by trial and error without them too.

ProtopopGames
Автор

If you guys are looking for an easy free way of localization. Unity has its own localization asset since Unity version 2020. This is obviously if you don‘t want to do it urself and just trying to find a good free way without much work.

I don‘t want to downtalk this channels videos at all, they are awesome and perfect if you want to do it all urself. In my opinions you should just sometimes use others ppls work to save time. Since this video was released before the Unity asset I just wanted to mention it for anyone interested!

Skycrafter
Автор

This is one of the most valuable tutorials I´ve seen

antonymorsas
Автор

Everything worked fine for me, except that I all my UI texts shows up with a " at the end of the text. But only the texts of the second language (the second value in each row of the localisation text asset - "key", "lang", "lang"). I have no spaces between each entry (key or value). I reviewed this code 2 times...

marcelinoborges
Автор

can you please share source codes of tutorial videos. it's really annoying to stop and copy the code every second.

INeatFreak
Автор

I'm super looking forward to part 2!

BalancingMonkeyGames
Автор

I found when I ran this that the text would appear as "Hello World!", instead of by itself without the quotation marks. To overcome this you can simply just trim the value before inputting it to the text box like so:

value = value.TrimStart(' ', '"'); value = value.Replace("\"", "");
textField.text = value;

jakub
Автор

I get an error with the StringSplitOptions saying it does not exist in the current context

germannoobgaming
Автор

Awsome bro. You Solved my problem of localization. You are amazing ❣️

utsavsinhzala
Автор

Perfect timing for me it seems! Thank you for this^^

flameprincess
Автор

That's a classy solution for the problem. Thanks for the light!

joeferreira
Автор

And how do I change the Language then Ingame?

krzysztofparadowski
Автор

Probably a dumb question, but wouldn't it be just as easy to have a switch statement on the text assets in game?

unuslupus-csa
Автор

If unity drops an error saying that SplitOptions.None doesn't exist in the current context just add using System at the top of the script.

_g_r_m_
Автор

Keep on good work bro, you deserve a lot more subscribers ;)

VHShark
Автор

Hi, did anyone find a solution to change the language in the game, I tried several cond variants but I get errors in unity.

toxic-naga
Автор

Cannot make new lines with the line separator( \n) in your script. Is there anyone who already addressed this issue?

kotaromarunouchi
Автор

So when I run the script, the text doesn't show up ... Can anyone help me?

hattoving