Garry's Mod Wiki

language

The language library is used for translation.

Methods

language.Add( string placeholder, string fulltext )
Adds a language item. Language placeholders preceded with "#" are replaced with full text in Garry's Mod once registered with this function.
string language.GetPhrase( string phrase )
Retrieves the translated version of inputted string. Useful for concentrating multiple translated strings.

Page Links


Special Pages


Wikis

?

Render Time: 30ms

DB GetPage 4
Generate Html 2
SaveChanges (1) 9
Render Body 0
Render Sidebar 12