Converse converse.js

Namespace: i18n

i18n

Methods

(private, static) __(str)

Overridable string wrapper method which can be used to provide i18n support.

The default implementation in @converse/headless simply calls sprintf with the passed in arguments.

If you install the full version of Converse, then this method gets overwritten in src/i18n/index.js to return a translated string.

Parameters:
Name Type Description
str String
Source:

(private, static) __(str)

Overridable string wrapper method which can be used to provide i18n support.

The default implementation in @converse/headless simply calls sprintf with the passed in arguments.

If you install the full version of Converse, then this method gets overwritten in src/i18n/index.js to return a translated string.

Parameters:
Name Type Description
str String
Source:

i18n

Methods

(private, static) __(str)

Overridable string wrapper method which can be used to provide i18n support.

The default implementation in @converse/headless simply calls sprintf with the passed in arguments.

If you install the full version of Converse, then this method gets overwritten in src/i18n/index.js to return a translated string.

Parameters:
Name Type Description
str String
Source:

(private, static) __(str)

Overridable string wrapper method which can be used to provide i18n support.

The default implementation in @converse/headless simply calls sprintf with the passed in arguments.

If you install the full version of Converse, then this method gets overwritten in src/i18n/index.js to return a translated string.

Parameters:
Name Type Description
str String
Source: