Garry's Mod Wiki

Garry's Mod Wiki

  string Localize( string localisationToken, string default )

Description

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

We advise against using this. It may be changed or removed in a future update. Use language.GetPhrase instead.

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.

Returns

1 string
The localized string, 128 char limit.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...