Inventory Engine integration - localize item names and descriptions
Posted: Sat Sep 18, 2021 5:05 pm
Hi, I am currently trying to localize items from Corgi with Inventory engine and can't make it work.
Documentation says it like this:
This doesn't work:
Code in LocalizedInventoryDetails looks like this:
What fields do I need to have in this table for it to work? Maybe I missed something?
Documentation says it like this:
I did that, created a new text table with my two languages and assigned it to dialogue manager. I am not sure about text tables, what should they look like? May I ask for an example?To localize Inventory Engine's inventory details text:
Replace the InventoryDetails script (on the InventoryCanvasGroup / InventoryDetails GameObject) with LocalizeInventoryDetails.
Add any text that you want to localize, such as item names and descriptions, to the text table assigned to the Dialogue Manager.
This doesn't work:
Code in LocalizedInventoryDetails looks like this:
Code: Select all
Title.text = DialogueManager.GetLocalizedText(item.ItemName);