Method RemoveLocale
RemoveLocale(Locale, bool)
Removes the locale from the Localization system.
Declaration
public static void RemoveLocale(Locale locale, bool createUndo = false)
Parameters
Type | Name | Description |
---|---|---|
Locale | locale | The Locale to remove so that it is no longer used by the Localization system. |
bool | createUndo | Used to indicate if an Undo operation should be created. |
Examples
This shows how to remove a Locale from the project.
// Find the Locale
var locale = LocalizationEditorSettings.GetLocale("en");
// Remove it from the Localization system
LocalizationEditorSettings.RemoveLocale(locale);