# Python, get the package, namespace and key of an unreal.Text

**URL:** <https://forums.unrealengine.com/t/python-get-the-package-namespace-and-key-of-an-unreal-text/1264234>\
**Category:** Editor Scripting\
**Tags:** unreal-engine, question\
**Created:** [August 17, 2023, 7:16pm UTC](https://forums.unrealengine.com/t/python-get-the-package-namespace-and-key-of-an-unreal-text/1264234 "2023-08-17T19:16:01Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![AreWeGaming](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/arewegaming/32/1174860_2.png) [@AreWeGaming](https://forums.unrealengine.com/u/AreWeGaming)\
**Post date:** [August 22, 2023, 12:07pm UTC](https://forums.unrealengine.com/t/python-get-the-package-namespace-and-key-of-an-unreal-text/1264234/6 "2023-08-22T12:07:24Z")

</div>

> **[Find String Table ID and Key from Text](https://docs.unrealengine.com/4.26/en-US/BlueprintAPI/Utilities/Text/FindStringTableIDandKeyfromText/)**
>
> Find String Table ID and Key from Text

> [@Creating/setting unique id for text? \[Localization\]](https://forums.unrealengine.com/t/creating-setting-unique-id-for-text-localization/407483):
>
> We have around 2000 strings and we’ve managed to translate them all already. However I cannot find any ids that are unique(Think it’s called namespace in the editor) for every string and I saw the they are all empty. Is there way to create or set string IDs (Namespaces) for all the localizable strings automatically? Or will there be any problems/side effect if I just put namespace in the place?

---

_[View the full topic](https://forums.unrealengine.com/t/python-get-the-package-namespace-and-key-of-an-unreal-text/1264234)._
