Skip to main content
Clarifying
Source Link
DMGregory
  • 140.8k
  • 23
  • 257
  • 401

Persistent How to store localized text data in unityUnity?

I need to create a lot of read-only text data. As far as I know storing a lot of data directly in the script is not good, thenso I need to create a third-partyseparate json file with ready-made data to load in the game. 

But what if this data should be in multiple languages, that's where the question arises. Should I store in the json file the localization table's keys with translations to access the desired field, am I right?

Persistent data in unity

I need to create a lot of read-only text data. As far as I know storing a lot of data directly in the script is not good, then I need to create a third-party json file with ready-made data to load in the game. But what if this data should be in multiple languages, that's where the question arises. Should I store in the json file localization table's keys with translations to access the desired field, am I right?

How to store localized text data in Unity?

I need to create a lot of read-only text data. As far as I know storing a lot of data directly in the script is not good, so I need to create a separate json file with ready-made data to load in the game. 

But what if this data should be in multiple languages, that's where the question arises. Should I store in the json file the localization table's keys with translations to access the desired field?

Source Link
Silz
  • 37
  • 7

Persistent data in unity

I need to create a lot of read-only text data. As far as I know storing a lot of data directly in the script is not good, then I need to create a third-party json file with ready-made data to load in the game. But what if this data should be in multiple languages, that's where the question arises. Should I store in the json file localization table's keys with translations to access the desired field, am I right?