How to reference localized text in Lua?

CivilizationAce

Warlord
Joined
Jan 17, 2017
Messages
236
I figure it doesn't make sense to hard code my text and I want to use
Code:
Game.AddWorldViewText(0, sPopup, iX, iY, 0)
. However I don't know how to make that second parameter show the text in the appropriate language from the localized text. I searched for Localized in the existing Lua, without success, and I can't find any reference to it in the Lua Objects lists so please help, because I'm lost (again).
 
Top Bottom