getActiveLocale

Typefunction
Dictionarylibrary.i18n
Libraryi18n library
Syntax
getActiveLocale()
Associationscom.livecode.library.i18n
Summary

Gets the ID of the current i18n bundle.

Example
on openCard
   set the text of button"Select language" to loadedLocaleIDs()
   set the label of button"Select language" to getActiveLocale()

   # more code ..
end openCard
Values
NameTypeDescription
return

The current i18n package ID.

Description

Use the getActiveLocale function for the ID of the current i18n package.

Tagsinternationalization,i18n,translation,languages,locale