:py:mod:`dissect.target.plugins.os.default.locale` ================================================== .. py:module:: dissect.target.plugins.os.default.locale Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: dissect.target.plugins.os.default.locale.LocalePlugin .. py:class:: LocalePlugin(target: dissect.target.target.Target) Bases: :py:obj:`dissect.target.plugin.Plugin` Default locale plugin. .. py:method:: check_compatible() -> None Perform a compatibility check with the target. This function should return ``None`` if the plugin is compatible with the current target (``self.target``). For example, check if a certain file exists. Otherwise it should raise an :class:`UnsupportedPluginError`. :raises UnsupportedPluginError: If the plugin could not be loaded. .. py:method:: timezone() -> str | None Get the timezone of the system. .. py:method:: language() -> list[str] Get the configured locale(s) of the system. .. py:method:: keyboard() -> collections.abc.Iterator[dissect.target.helpers.record.EmptyRecord] Get the keyboard layout(s) of the system.