Class YRTI18nManagerFactory

Class Methods

+ getI18nManagerInstance

Gets the internationalization manager interface.

+ getLocaleWithLocaleDelegate:

Returns the locale currently used by the runtime.

+ setLocaleWithLocale:

Sets the application's locale.

Method Detail

+getI18nManagerInstance

+ (nonnull YRTI18nManager *)getI18nManagerInstance

Gets the internationalization manager interface.

+getLocaleWithLocaleDelegate:

+ (void)getLocaleWithLocaleDelegate:(nonnull YRTLocaleDelegate)localeDelegate 

Returns the locale currently used by the runtime.

+setLocaleWithLocale:

+ (void)setLocaleWithLocale:(nullable NSString *)locale 

Sets the application's locale.

Useful only if MapKit is not used by the application. Otherwise, use MapKitFactory.setLocale() or [YMKMapKit 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.Remark:
Parameters:
locale

has optional type, it may be uninitialized.