How to change games culture without restart in UE 4.11?

Hello.

I found a lot of questions on this problem, but solution, that suggested in those answers, doesn’t work for me.

I tried

 FInternationalization::Get().SetCurrentCulture(TEXT("pl"));

but it doesn’t solved my problem. Console command

CULTURE=en 

also doesn’t helped me.

How to change culture in UE 4.11 in game runtime, without restart?

Thank you!

Maybe try to reload entry level, or atleast reinitiate all the widgets

Hi! Re-initialization of the widgets not solved the problem…

It still showing texts in “en” culture.
But if I restart game with -culture=ru-RU - it showing texts in needed culture, ie my translation works correctly.

Level re-opening also not solved the problem:

76327-1.png

Hello, I don’t know if it could helps you but by my side (UE 4.11.2) :
To preview a culture without restarting UE I use the “Preview in Editor” Button in the Translation Editor :

  1. Enter -culture=it in the console command on the OutputLog tab (here it : italian for the exemple)
  2. open The Localization dashBoard
  3. Edit Translation you want to preview
  4. Then Clic on the “Preview in Editor” Button

88635-culture1.jpg

@, did you solve it?

For people with this kind of problem and similar, somethings worth checking out (I stumbled upon two of them):

  • Remember to compile your translations (I do it on the Localization Dashboard)
  • In Project Settings > Packaging > Packaging > Advanced Settings check if your translations are checked in the Localizations to Package list (easier to see pressing Show localized)
  • In the same place, set Internationalization Support to something that covers all your languages. In my case (pt-BR), I thought EFIGS would do the trick, as Portuguese has similar glyphs to Spanish. But no. It’s a very specific setting. So, I had to use All.
  • The culture/language won’t change in editor, so test in Standalone Preview. For VR you need to build the project, unfortunately.