代码设置 public: static void Register(FText value) { return; } //方法一:声明一个本地化的域名,然后定义本地化名字 #define LOCTEXT_NAMESPACE "本地化域名" 类名::Register(LOCTEXT("Menu"