Split a locale into parent locales. "es-CO" -> ["es-CO", "es"]
Split a locale into parent locales. "es-CO" -> ["es-CO", "es"]
Remove the context delimiter from string.
Set messages after loading them.
Proper translation function that handle plurals and directives.
Shorthand for gettext.
The singular string to translate.
Any additional values to use with interpolation.
A translated string if found, or the original string.
This is not a private method (starts with an underscore) it is just a shorter and standard way to call these methods.
Shorthand for ngettext.
The singular string to translate.
The plural string to translate.
The number for pluralization.
Any additional values to use with interpolation.
A translated string if found, or the original string.
This is not a private method (starts with an underscore) it is just a shorter and standard way to call these methods.
Shorthand for npgettext.
The message context.
The singular string to translate.
The plural string to translate.
The number for pluralization.
Any additional values to use with interpolation.
A translated string if found, or the original string.
This is not a private method (starts with an underscore) it is just a shorter and standard way to call these methods.
Shorthand for pgettext.
The message context.
The singular string to translate.
Any additional values to use with interpolation.
A translated string if found, or the original string.
This is not a private method (starts with an underscore) it is just a shorter and standard way to call these methods.
Translate a singular string with extra interpolation values.
The translations domain.
The message context.
The singular string to translate.
The plural string to translate.
The number for pluralization.
Any additional values to use with interpolation
A translated string if found, or the original string.
Get current context delimiter.
The current delimiter.
Get current domain.
The current domain string.
Get current locale.
The current locale.
Get current strings prefix.
The strings prefix.
Translate a singular string with extra interpolation values.
The singular string to translate.
Any additional values to use with interpolation.
A translated string if found, or the original string.
Load json translations strings (In Jed 2.x format).
The translation strings plus metadata.
The translation domain, e.g. "jupyterlab".
Translate a plural string with extra interpolation values.
The singular string to translate.
Any additional values to use with interpolation.
A translated string if found, or the original string.
Translate a contextualized plural string with extra interpolation values.
The message context.
The singular string to translate.
The plural string to translate.
The number for pluralization.
Any additional values to use with interpolation
A translated string if found, or the original string.
Translate a contextualized singular string with extra interpolation values.
The message context.
The singular string to translate.
Any additional values to use with interpolation.
A translated string if found, or the original string.
This is not a private method (starts with an underscore) it is just a shorter and standard way to call these methods.
Set current context delimiter.
The delimiter to set.
Set current domain.
The domain to set.
Set current locale.
The locale to set.
Set current strings prefix.
The string prefix to set.
sprintf
equivalent, takes a string and some arguments to make a
computed string.
The string to interpolate.
The variables to use in interpolation.
strfmt("%1 dogs are in %2", 7, "the kitchen"); => "7 dogs are in the kitchen" strfmt("I like %1, bananas and %1", "apples"); => "I like apples, bananas and apples"
Generated using TypeDoc
Gettext class providing localization methods.