Class Ozone.lang
Defined in: ozone-lang.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
Provides utility methods for localization
|
| Method Attributes | Method Name and Description |
|---|---|
| <static> |
Ozone.lang.getLanguage()
Gets the language that is currently being used by OWF
|
Method Detail
<static>
Ozone.lang.getLanguage()
Gets the language that is currently being used by OWF
if (Ozone.lang.getLanguage() == 'es') {
AnnouncingClockStrings.timeLabel = 'El tiempo es';
}
- Returns:
- Returns the ISO 639-1 language code for the language that is currently being used by OWF