Thread Tools Display Modes
Prev Previous Post   Next Post Next
07/27/22, 03:10 PM   #1
trollusk
AddOn Author - Click to view addons
Join Date: Nov 2020
Posts: 8
Force UI to use changed localization string?

If I change a localization string in-game, is there a way to force the UI elements that use the string, to update themselves?

Specifically, I can successfully change the string for the "N" label on the compass with:

Lua Code:
  1. GetString(SI_COMPASS_NORTH_ABBREVIATION)    -- returns "N"
  2. SafeAddString(SI_COMPASS_NORTH_ABBREVIATION, " ", 10)
  3. GetString(SI_COMPASS_NORTH_ABBREVIATION)    -- returns " "

However the compass does not update itself to use the changed string. This does not change if I /reloadui or change zones, etc.
  Reply With Quote
 

ESOUI » Developer Discussions » Lua/XML Help » Force UI to use changed localization string?


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off