Page 1 of 1

Localize UI not working on TMP Dropdown

Posted: Mon Jan 09, 2023 2:40 pm
by Xeraclom14
Hi, i'm the final process of localizing my game and all that's left is adding localization to the dropdown's options.
If I understood correctly, you only need to add the Localize UI component to the dropdown, and it will use the options text as field names for localization, right?
I've set up everything corretly, and the component throws this error: "Localize UI didn't find a localizable UI component on Quality Dropdown."

My GameObject's inspector looks like this:
inspector.png
inspector.png (53.11 KiB) Viewed 247 times
Safe to say, TMP_PRESENT is enabled.

I took a look at the component code and it seems that it doesn't look for TMP dropdowns at all, just regular ones? (Maybe tmp's dropdown extends from the regular one and I dont really know what i'm talking about)
source.png
source.png (46.27 KiB) Viewed 247 times

Re: Localize UI not working on TMP Dropdown

Posted: Mon Jan 09, 2023 3:09 pm
by Tony Li
It's been added for DS version 2.2.34. Here's a patch for the current 2.2.33 release:

DS_LocalizeUIPatch_2023-01-09.unitypackage

Re: Localize UI not working on TMP Dropdown

Posted: Mon Jan 09, 2023 3:44 pm
by Xeraclom14
Thanks! Works like a charm.

Re: Localize UI not working on TMP Dropdown

Posted: Mon Jan 09, 2023 3:55 pm
by Tony Li
Glad to help!