game.utils.localization ======================= .. py:module:: game.utils.localization .. autoapi-nested-parse:: A simple localization manager to handle multi-language text. Attributes ---------- .. autoapisummary:: game.utils.localization.localization_manager Classes ------- .. autoapisummary:: game.utils.localization.Localization Module Contents --------------- .. py:class:: Localization Manages text strings for different languages. .. py:attribute:: language :value: 'en' .. py:attribute:: strings .. py:method:: set_language(lang) Sets the active language. .. py:method:: get(key, **kwargs) Gets a formatted string for the current language. .. py:data:: localization_manager