pgettext
No overview available.
def pgettext(
context: string,
message: string
) - > string
Fetches the translation of a message within a specific context to resolve ambiguity between identical strings.
Parameters
| Name | Type | Description |
|---|---|---|
| context | string | The context string used to disambiguate the message for translators. |
| message | string | The message string to be translated. |
Returns
| Type | Description |
|---|---|
string | The translated string corresponding to the provided message and context. |