Strings ======= .. py:class:: Strings :canonical: ansys.tools.variableinterop.utils.locale_utils.Strings Provides utilities for obtaining string resources. Overview -------- .. py:currentmodule:: Strings .. tab-set:: .. tab-item:: Static methods .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~get` - Get a localized string from ``strings.properties``. Import detail ------------- .. code-block:: python from ansys.tools.variableinterop.utils.locale_utils import Strings Method detail ------------- .. py:method:: get(section: str, name: str, *args: object) -> str :staticmethod: Get a localized string from ``strings.properties``. :Parameters: **section** : :class:`python:str` Section of ``strings.properties`` to get the localized string from. **name** : :class:`python:str` Identifier for the string to get. **args** : :obj:`object` Optional formatting arguments. :Returns: :class:`python:str` Localized string. .. !! processed by numpydoc !!