Skip to content

Use Jinja i18n to gettext instead of databags #683

@johnzhou721

Description

@johnzhou721

What is the problem or limitation you are having?

Use Jinja i18n to localize the recurring phrases, not data bags, this provides more flexibility

Describe the solution you'd like

Jinja i18n

Describe alternatives you've considered

Status quo and put the {{}} in the databags but people can inject arbitrary code into translations.

Additional context

Not sure how to use Jinja plugins in lektor

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew features, or improvements to existing features.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions