Garry's Mod Wiki

Revision Difference

Global.Localize#514890

<function name="Localize" parent="Global" type="libraryfunc">⤶ <description>Returns a localisation for the given token, if none is found it will return the default(second) parameter.</description>⤶ <realm>Client and Menu</realm>⤶ <args>⤶ <arg name="localisationToken" type="string">The token to find a translation for.</arg>⤶ <arg name="default" type="string">The default value to be returned if no translation was found.</arg>⤶ </args>⤶ </function>⤶ ⤶