txAdmin icon indicating copy to clipboard operation
txAdmin copied to clipboard

[BUG] Menu translation only works after tab change

Open tabarra opened this issue 4 years ago • 3 comments

txAdmin/FXServer versions: v4.13.3

Describe the bug Whenever you open the menu, it will always be english, until you press tab.
This is surely related to serverCtx sync that changed a few versions ago, since it is already in the dependencies of menu\src\components\MainPage\MainPageList.tsx.

tabarra avatar Mar 26 '22 08:03 tabarra

Cannot reproduce bug on local environment. When updating Locale from settings page in Web UI, the Menu and subsequent locale phrases are immediately updated upon receival of "setServerCtx" message event.

TasoOneAsia avatar May 20 '22 02:05 TasoOneAsia

Oh that's 100% a game thing, related to serverCtx updates.
Since forever reviewing the serverctx thing has been on my list - which will happen with the review of the two debug variables, and prints.

tabarra avatar May 20 '22 02:05 tabarra

Oh that's 100% a game thing, related to serverCtx updates.

hm weird, serverCtx updates through both GlobalState bag and through Get-Set serverCtx event fallback were functioning fine when I was testing.

TasoOneAsia avatar May 20 '22 02:05 TasoOneAsia

Confirmed that this has been fixed.
IDK which version fixed it though.

tabarra avatar Nov 21 '22 06:11 tabarra