Garry's Mod Wiki

Localize

  Localize( string localisationToken, string default )

Description

Returns a localisation for the given token, if none is found it will return the default (second) parameter.

Arguments

1 string localisationToken
The token to find a translation for.
2 string default
The default value to be returned if no translation was found.