Skip to content

Set 'lang' attribute based on the locale of the page #95

@FiveYellowMice

Description

@FiveYellowMice

Currently, an AsciiDoc document cannot conveniently obtain current_page.options[:locale] set by the I18n extension, and it seems natural for it to be reflected in the 'lang' attribute since its standard (and used by some converters).

It would be better if we are able to specify translation strings based on the locale, either obtaining them from the I18n extension or set from configuration or data files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions