Search in a table using the key and language

Hey, I’ve just added the package in my project, so I’m updating my project, which didn’t include any language changes, to this system but how can you search in a table using the referenced key and language ?
Is there something like in a dictionary or a list:

(StringTableCollection) table.Find(x => x.key == myKeyWord) ?

Take a look at the Samples we include. You can access them via the package manager. They have various examples of different ways to getting localized strings. A StringTable contains all the keys and works like a Dictionary, you can get the String Table through LocalizationSettings.StringDatabase or by using a LocalizedStringTable instance
We also have some examples in the docs https://docs.unity3d.com/Packages/com.unity.localization@0.9/manual/Scripting.html

1 Like