I have fully translated and compiled the translation, but how to switch localization correctly
I have created ustructs containing ftext variables and pass localized variables to them
#define LOCTEXT_NAMESPACE "Eda"
edi[0].nazvanie = LOCTEXT("pirog", "Пирог");
...
#define LOCTEXT_NAMESPACE
but when I try to change the language of the game to another one using FInternationalization::Get().SetCurrentCulture("en");
, they do not change their name in the user interface, only the unreal editor changes the language
What am I doing wrong?