To delete an addon from a locale, issue the subsequent command. Let us take an en_US locale as an example:
/usr/local/expand/sbin/locale_engine --del addon1.xml --locales-list en_US
Where
Option |
Definition |
|
The command that calls out ExpandLocaleEngine (ELE). |
|
The option of ELE used for deleting an addon from a locale. |
|
The name of the file that need to be deleted. |
|
The option of ELE defining the list of the addon file should be deleted from. In this case, this is the en_US locale. Note: For more information about the options of ELE and their usage, see ELE Options. |
As a result, the addon file will be unregistered from the locale, renamed to .removed , and its name will be removed from addons_sequence. In our example, we will receive the following file /usr/local/expand/share/locale/xx_XX/addon1.xml.removed
However, the generated locale will remain unchanged. If you wish to restore it to the previous state, see Restoring Locale to Previous State earlier in this section.