This documentation site is about the unstable (upcoming) Comentario version.  Switch to the stable version »

Attribute: lang

The lang attribute of the <comentario-comments> tag controls language for the embedded comments

The lang attribute of the comments tag specifies the language that should be used for the embedded Comentario comments.

Its value is an RFC 5646 tag. If the attribute is omitted, Comentario will try to look it up on the current page by querying its <html> element for the lang attribute.

For the language to actually be selected, it has to be one of the values listed under ConfigurationStatic. Otherwise, Comentario will fall back to the global default: en (English).

See also