Is there a way to get the string keys (not long) from String Tables?

So far this tool has been great but I was wondering if it is possible to get a list of string keys from a StringTable.
Not the Key Id (long) but the string key that we set on inspector.

I also noticed that while StringTable is a dictionary, for some reason it does not have the Keys parameter or ElementAt(index) method.

The string keys are stored in the Shared table data, you can get to this through the StringTable SharedTableData property. It’s the asset that is shared across all the tables whilst the table themselves only use the long Id. https://docs.unity3d.com/Packages/com.unity.localization@0.11/api/UnityEngine.Localization.Tables.SharedTableData.html

I’m not sure about this, we implement IDictionary, I think those methods are part of IEnumerable which we don’t implement. Dictionary has different methods than IDictionary

1 Like

Thank you so much! This is what I was looking for.

1 Like