-
Notifications
You must be signed in to change notification settings - Fork 289
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
i18n Support via Polyglot #504
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've been using https://github.com/untra/polyglot as it seems to be the last maintained i18n implementation.
Since I'm rather new to Jekyll, it seems that you cannot utilize dynamic variables in front matter since it's utilized for static content.
I did find this random comment that was related 😆 #494 (comment)
My Example
I've been defining i18n content in
/_data/en/pages/some_page.yml
I'm then able to pull the content in a template like so and have it pull the current language from the data definitions.
Proposal
I'm not sure if something like this would be possible since you cannot put dynamic content into the front matter, but it could surely help the situation if we could do something like this instead:
I'm really hoping something like this would be possible 🤞
The text was updated successfully, but these errors were encountered: