In some cases, it is necessary to have certain stringtable entries in a specific language.
For example, let's say I want a list of all units that have the term "Grenadier" in their displayName:
"'grenadier' in toLower getText( _x >> 'displayName')" configClasses (configFile >> "cfgVehicles")
However, if this text is localized to another language, it won't work.
Which is why an alternative syntax of localize would come in handy.
Something like this:
"STR_blabla" localize "English"
"English" localize "STR_blabla"
localize ["STR_blabla", "English"]
Now I can write the above example as (assuming the syntax is implemented as localize ["STR_blabla", "English"]):
"'grenadier' in toLowerANSI localize [ getTextRaw(_x >> 'displayName'), 'English' ]" configClasses (configFile >> "cfgVehicles")