Skip to content

MvLOCALIZED-TEXT#


Defines the text for the language specified by the LANGUAGE attribute. HTML is allowed, but MivaScript tags are not allowed between the opening and closing tags.

Syntax
<MvLOCALIZED-TEXT
    LANGUAGE = "string: {  expression } | literal language_id"> 
</MvLOCALIZED-TEXT>

Defines the text for the language specified by the LANGUAGE attribute. HTML is allowed, but no Miva tags may exist between the <MvLOCALIZED-TEXT> and </MvLOCALIZED-TEXT> tags.

Attributes#

Attribute Description
LANGUAGE The language code for the text has two components: language-country code. (e.g. en-US is English - United States)

Example#

You can include localized text for as many languages as you like. This example displays the text for the previously set language.

<MvLOCALIZED-TEXT LANGUAGE = "en-US">Category: </MvLOCALIZED-TEXT>
<MvLOCALIZED-TEXT LANGUAGE = "de-DE">Kategorie: </MvLOCALIZED-TEXT>