mxui.mixin._Internationalized
This is a mixin Object. It can be added to the declaration of your widget and adds specific functionality.
The _Internationalized mixin adds system string translation functionality.
Methods
translate()
This method is called request the translation of a property of this widget that is marked as translatable in the Modeler.
Parameters
| Name | Type | Description |
|---|---|---|
| str | String |
Returns
| Type | Description |
|---|---|
| String | Translated string. |
Example
this.translate('search'); // 'Suchen'</div><!-- /content --> </div><!-- /container --> </body> </html>