Hello,
I’m extracting dialog text for localisation and I can get the text line as an unreal.Text object.
However, I can’t find a way to get the package, namespace and key that I see when hovering the text in the editor.
Is this something that I can do in python?
Regards,
Pierre
Hello @AreWeGaming!
Thank you for the suggestion.
I gave a try to TextLibrary.
The only useful method I see there is string_table_id_and_key_from_text and this is returning None when I supply my text object in parameter.
Help on my text object returns this: class Text(_WrapperBase)…
And if I call find_text_in_localization_table using the Key that I see in the editor, it is returning my text.
I just need a way to get the key from my Text.
Regards,
Pierre
This is not related to what I’m looking for.
What I need is this key: