# Unknown identifier "StringToMessage" 

**URL:** <https://forums.unrealengine.com/t/unknown-identifier-stringtomessage/2668557>\
**Category:** Programming & Scripting\
**Tags:** string, text, unreal-editor-for-fortnite, fortnite-creative, unreal-engine, fortnite\
**Created:** [October 25, 2025, 2:22pm UTC](https://forums.unrealengine.com/t/unknown-identifier-stringtomessage/2668557 "2025-10-25T14:22:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![R6\_Magne](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@R6\_Magne](https://forums.unrealengine.com/u/R6_Magne)\
**Post date:** [October 25, 2025, 2:22pm UTC](https://forums.unrealengine.com/t/unknown-identifier-stringtomessage/2668557/1 "2025-10-25T14:22:03Z")

</div>

Setting text with StringToMessage supposedly works. But in this case it was perceived as an Unknown indentifier.

 ![{EC0FE85D-733D-44A6-A6BA-D77A6989405E}](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/0/4/904b4c1518b031e3d1a461eb6804eec5dd006936.png)

---

<div class="post-metadata">

**Author:** ![Mineblo](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mineblo/32/1203575_2.png) [@Mineblo](https://forums.unrealengine.com/u/Mineblo)\
**Post date:** [October 25, 2025, 3:06pm UTC](https://forums.unrealengine.com/t/unknown-identifier-stringtomessage/2668557/2 "2025-10-25T15:06:21Z")

</div>

Place this at the top of your file  
`StringToMessage<localizes>(String:string):message="{String}"`
