toggle menu
nova-parent
0.17-alpha.34
jvm
switch theme
search in API
nova
/
xyz.xenondevs.nova.i18n
/
LocaleManager
Locale
Manager
object
LocaleManager
Members
Functions
get
All
Format
Strings
Link copied to clipboard
@
Synchronized
fun
getAllFormatStrings
(
key
:
String
)
:
Set
<
String
>
get
All
Translations
Link copied to clipboard
@
Synchronized
fun
getAllTranslations
(
key
:
String
,
vararg
args
:
Any
)
:
Set
<
String
>
get
Format
String
Link copied to clipboard
@
Synchronized
fun
getFormatString
(
lang
:
String
,
key
:
String
)
:
String
get
Format
String
Or
Null
Link copied to clipboard
@
Synchronized
fun
getFormatStringOrNull
(
lang
:
String
,
key
:
String
)
:
String
?
get
Translation
Link copied to clipboard
@
Synchronized
fun
getTranslation
(
lang
:
String
,
key
:
String
,
vararg
args
:
Any
)
:
String
@
Synchronized
fun
getTranslation
(
player
:
Player
,
key
:
String
,
vararg
args
:
Any
)
:
String
get
Translation
Or
Null
Link copied to clipboard
@
Synchronized
fun
getTranslationOrNull
(
lang
:
String
,
key
:
String
,
vararg
args
:
Any
)
:
String
?
has
Translation
Link copied to clipboard
@
Synchronized
fun
hasTranslation
(
lang
:
String
,
key
:
String
)
:
Boolean