Package world.mappable.runtime.i18n

Class I18nManagerFactory

java.lang.Object
    ↳ world.mappable.runtime.i18n.I18nManagerFactory

class I18nManagerFactory

Summary

Constructors

Signature and Description

I18nManagerFactory()

Methods

Type and modifiers

Method and Description

static native java.lang.String

getLocale()
Returns the locale currently used by the runtime.

static native void

setLocale(@Nullable java.lang.String locale)
Sets the application's locale.

static native I18nManager

getI18nManagerInstance()
Gets the internationalization manager interface.

Constuctors

I18nManagerFactory

I18nManagerFactory()


Methods

getLocale

@NonNull
java.lang.String getLocale()

Returns the locale currently used by the runtime.

Should be called only after locale has been set.


setLocale

void setLocale(@Nullable java.lang.String locale)

Sets the application's locale.

Useful only if MapKit is not used by the application. Otherwise, use . Also useless if someone else has already set the locale (produses warning and does nothing). Can be set to none, in this case system locale will be used.


getI18nManagerInstance

@NonNull
I18nManager getI18nManagerInstance()

Gets the internationalization manager interface.