Download

Localization is changed all string or only display in view?

such is a enum use english named element,such as a value named Archer.In viewport display,i use it to set a FString to show. If player is read english show Archer,if they is read chinese show “弓箭手”,this enum can set FString like this image.
QQ截图20210705114705

If Licalization is working it world to translate to"弓箭手".but this enum is used to make SQL line string like this: INSERT INTO character_info (profession) VALUES (Archer) WHERE characterid=200; If translate ,it would be changed to INSERT INTO character_info (profession) VALUES (弓箭手) WHERE characterid=200; So INSERT will fail.

and if i make my Entry string like this image,don`t translate the enum. can the string “StrPofessionName” be Localization?