Constructs a new instance of the Translator class.
Optionallocale: LocaleAn object representing the initial locale configuration.
Optionaltransform: (str: string) => stringA function for transforming strings.
Optionalconfig: Partial<ITranslateConfig>An object representing additional configuration options.
Clear the _skip and _transformed variables.
ReadonlyconfigCreates and returns an element based on the provided type, props, and children.
The type of the element to create.
The properties or attributes to assign to the element.
The child elements or content to append to the element.
StaticinstallInstalls the Translate object and configures React.
The parameters needed to create a new Translate instance.
The installed Translate object.
Create an element using the given type and props
The type of the element
The props for the element
Translates the given text to another language.
The text to be translated.
The translated text.
Adds a middleware to the list of used middlewares.
The middleware to be added.
Translate class for handling text translation and transformation.