Localize UI not working on TMP Dropdown

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Xeraclom14
Posts: 7
Joined: Wed Jan 04, 2023 11:51 am

Localize UI not working on TMP Dropdown

Post 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 253 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 253 times
User avatar
Tony Li
Posts: 22140
Joined: Thu Jul 18, 2013 1:27 pm

Re: Localize UI not working on TMP Dropdown

Post 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
Xeraclom14
Posts: 7
Joined: Wed Jan 04, 2023 11:51 am

Re: Localize UI not working on TMP Dropdown

Post by Xeraclom14 »

Thanks! Works like a charm.
User avatar
Tony Li
Posts: 22140
Joined: Thu Jul 18, 2013 1:27 pm

Re: Localize UI not working on TMP Dropdown

Post by Tony Li »

Glad to help!
Post Reply