Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force locale for excluded pages #16

Open
aitortomas opened this issue Dec 17, 2019 · 0 comments
Open

Force locale for excluded pages #16

aitortomas opened this issue Dec 17, 2019 · 0 comments

Comments

@aitortomas
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant