RBCFC

RBCFC

RBCFC

Manage resource bundles

Metadata

formatRBString()

performs messageFormat like operation on compound rb string

Arguments

Name Type Required Default Options Description
rbString string Yes
substituteValues String Yes
default String No [runtime expression]
locale string No

getCurrentLocale()

Returns the current locale string based on if the client is logged in or not

Arguments

Name Type Required Default Options Description
None

getResource()

Returns the resource string

Arguments

Name Type Required Default Options Description
key string Yes
default string No [runtime expression]
locale string No

init()

Initializes component

Arguments

Name Type Required Default Options Description
locales string No

loadSet()

Returns requested bundles plus base in a struct

Arguments

Name Type Required Default Options Description
dir string Yes
locales string No