Garry's Mod Wiki

The language library is used for translation.

Methods

void 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: 33ms

Session 0
DB GetPage 8
Generate Html 2
SaveChanges 9
Render Body 0
Render Sidebar 12