[UEFN] How to get the localized version of a message?

I would like to get the localized version of a message to adapt my UI width based on the text. I tried like that:

  Test := Text.GetText().Length
  test2 := Localize(Msg)
  Print("Length {Test} {test2}")

It’s printing the English version while on my game ui it’s in my locale language.
Isn’t it possible to get it?