Previous Topic

Next Topic

Book Contents

Deleting Addon from Locale

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

/usr/local/expand/sbin/locale_engine

The command that calls out ExpandLocaleEngine (ELE).

--del

The option of ELE used for deleting an addon from a locale.

addon1.xml

The name of the file that need to be deleted.

--locales-list en_US

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.

See Also

Modifying Language Pack

Altering Locale

ELE Options

Installing Addon in Locale

Checking Locale and Addon Compatibility

Installing Updated Locale in Plesk Expand

Restoring Locale to Previous State