MRTI18nManagerFactory

class MRTI18nManagerFactory : NSObject

Undocumented

Summary

Class methods

class func getLocale() -> String
Returns the locale currently used by the runtime

class func setLocaleWithLocale(_ locale: String?)
Sets the application's locale

class func getI18nManagerInstance() -> MRTI18nManager
Gets the internationalization manager interface

Class methods

getLocale()

class func getLocale() -> String

Returns the locale currently used by the runtime. Should be called only after locale has been set.


setLocaleWithLocale(_:)

class func setLocaleWithLocale(_ locale: String?)

Sets the application's locale. Useful only if MapKit is not used by the application. Otherwise, use {``` mapkit.MapKitFactory.setLocale()}. 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()

class func getI18nManagerInstance() -> MRTI18nManager

Gets the internationalization manager interface.