dissect.target.plugins.os.default.locale¶
Module Contents¶
Classes¶
Default locale plugin. |
- class dissect.target.plugins.os.default.locale.LocalePlugin(target: dissect.target.target.Target)¶
Bases:
dissect.target.plugin.PluginDefault locale plugin.
- check_compatible() None¶
Perform a compatibility check with the target.
This function should return
Noneif the plugin is compatible with the current target (self.target). For example, check if a certain file exists. Otherwise it should raise anUnsupportedPluginError.- Raises:
UnsupportedPluginError – If the plugin could not be loaded.
- timezone() str | None¶
Get the timezone of the system.
- language() list[str]¶
Get the configured locale(s) of the system.
- keyboard() collections.abc.Iterator[dissect.target.helpers.record.EmptyRecord]¶
Get the keyboard layout(s) of the system.