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

Multilingual per post instead of per site? #587

Open
JOduMonT opened this issue Jan 17, 2024 · 0 comments
Open

Multilingual per post instead of per site? #587

JOduMonT opened this issue Jan 17, 2024 · 0 comments

Comments

@JOduMonT
Copy link

Maybe I'm a simplistic fool,
but what if we pass the constant language string at the page level instead of the site config level
export const language: string = getSiteConfig('language', 'en')
and add language as an option on each post, so that would allow people to easily exploit the multilingual aspect of this starter-kit.
By default, English could be defined in absence of configuration, so it would not even both unaware users of that new possiblity.

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