Files
deb-python-pyvmomi/docs/vim/LocalizationManager.rst
Shawn Hartsock 15f7be9a52 pyVmomi reStructured Text Documentation
This external documentation for pyVmomi was generated using Googly Docs
(aka Google Standard Documentation) which renders very cleanly in
GitHub. Internal documentation for a class should be done in Sphinx
format because tools like pyCharm and Eclipse can use that documentation
as a hint for code completion.

Note: External docs as Googly Docs, internal docs as Sphinx.

Closes bug#15
2014-06-17 14:07:42 -04:00

1.9 KiB

vim.LocalizationManager

LocalizationManager provides access to descriptions of the message catalogs that are available for client-side message localization.Clients of the VIM API may use SessionManager . SetLocale to cause the server to emit localized messages, or may perform client-side localization based on message catalogs provided by the LocalizationManager .A message catalog is a file that contains a set of key-value pairs. * The key is an ASCII string that identifies the message. * The value is a UTF-8 string that contains the text of the message, sometimes containing substitution variables.The server will localize fields tagged with 'localizable' based on the value of the UserSession . locale and messageLocale properties which are set via SessionManager . SetLocale .The following list shows some of the ways that vSphere uses localized messages. * Current task status ( * TaskInfo * . * description * ) * Events ( * VirtualMachineMessage * . * text * and Questions ( * VirtualMachineQuestionInfo * . * text * ) * Faults ( * MethodFault * . * faultMessage * ) * HostProfile * and * ClusterProfile * descriptions ( * Profile * . * ProfileDescription * . * description * returned by the * Profile * . * RetrieveDescription * method)

since

vSphere API 4.0

Attributes

catalog (vim.LocalizationManager.MessageCatalog):
privilege: System.View

Fetches the descriptions of all the client-side localization message catalogs available for the current session locale.

Methods