Skip to content
JustGod edited this page Oct 28, 2023 · 3 revisions

Locale

Constructor

(method) Locale:Constructor()

ConvertStr

(method) Locale:ConvertStr(str: string, ...any)
  -> string

Translate string

Register

(method) Locale:Register(name: string, data: table)
  -> Locale

Translate

(method) Locale:Translate(str: string, ...any)
  -> string

color

string

lang

string

locales

table<string, table<string, string>>

_C

function _C(lang: string, data: table)
  -> Locale

_U

function _U(str: string, ...any)
  -> string

Clone this wiki locally