Skip to content

Force locale for excluded pages #16

Description

@aitortomas

I am using the auto mode and excluding some pages from localization.
Is there a way to "force" the locale on those pages? It takes the default locale.

My use case:
I have a page that only exists in one locale (not the default one) therefore I exclude that page. But that page also uses a layout that includes localized strings (like the header and the footer). I was thinking something like being able to add in the front matter of the page the locale like locale: fr so, even though the page is excluded, it still works with the same localized layout.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions