unloadLocale

Typecommand
Dictionarylibrary.i18n
Libraryi18n library
Syntax
unloadLocale <pLocaleID>
Associationscom.livecode.library.i18n
Summary

Remove a package from i18n.

Parameters
NameTypeDescription
pLocaleID

The ID of the i18n package to be removed.

Example
on mouseUp
   # I remove from the storage of the i18n the package for the Spanish language.
   unloadLocale "es"

   # Uploading the English language package to the i18n store.
   loadLocaleFromFile "/assets/i18n/en.leng"

   # Set current language to English.
   setActiveLocale "en"

   # Updating all UI texts.
   updateLocale the long id of this stack

end mouseUp
Description

Use the unloadLocale command to remove a package from the i18n package store.

Tagsinternationalization,i18n,translation,languages,locale