Inherits from NSObject
Declared in TiLocale.h

Overview

The class represents locale.

Tasks

Properties

bundle

Returns the bundle associated with the locale.

@property (nonatomic, readwrite, retain) NSBundle *bundle

Discussion

Read-only property.

Declared In

TiLocale.h

currentLocale

Returns the current locate.

@property (nonatomic, readwrite, retain) NSString *currentLocale

Declared In

TiLocale.h

Class Methods

defaultLocale

Returns default locale.

+ (NSString *)defaultLocale

Declared In

TiLocale.h

getString:comment:

Return localized text for the key.

+ (NSString *)getString:(NSString *)key comment:(NSString *)defaultValue

Parameters

key

The text key.

defaultValue

The default value.

Declared In

TiLocale.h

setLocale:

Sets current locale.

+ (void)setLocale:(NSString *)locale

Parameters

locale

The locale to set.

Declared In

TiLocale.h