Page 1 of 1
Can we localize things with Lua?
Posted: Tue May 31, 2016 11:43 pm
by AnthonyBF2
I am wondering if it's possible to localize map names and descriptions, and probably many other things using Lua, most likely somewhere in the shell. Thanks in advance.

Re: Can we localize things with Lua?
Posted: Wed Jun 01, 2016 2:36 am
by Marth8880
You mean like, set the text values of localization keys? Something like SetLocalizeKey("level.EUR.cp1", "English", "Hangar")? If so, then I don't think so, but I sure wish there were!
Re: Can we localize things with Lua?
Posted: Fri Jun 03, 2016 5:58 pm
by AnthonyBF2
Marth8880 wrote:You mean like, set the text values of localization keys? Something like SetLocalizeKey("level.EUR.cp1", "English", "Hangar")? If so, then I don't think so, but I sure wish there were!
I wasn't really wanting something like that. If I added a source string, why not just fill in the source string?
What I wanted is... Let's say we have a map name that's unlocalized (we cannot add a source entry for it) so it looks like dea1%_% on the list of maps.
Now, I am wondering if it is possible to give that map code an actual name using some scripting somewhere in the shell, possible in missionlist.lua or shell_interface.lua.