-
Notifications
You must be signed in to change notification settings - Fork 62
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
Translate dates #153
Comments
This currently has to be done manually, as it has to be with any other string. Date formats are very different from each one. I created a liquid file to help me implement this. You can check it working on the example page of my template. |
Liquid date filter doesn't support parsing dates into other languages than english. https://freakdesign.com.au/blogs/news/translate-a-liquid-date-string-in-shopify ☝️ This blog post describes a way to accomplish this with extra liquid rpogramming. But otherwise this is not something polyglot can help with currently. If shopify adds further i18n support to their date filter, this can supported better. Unfortunately I can't help further. |
The locales support date formats for languages. |
What do you mean? |
Like e.g. Date.0 in https://www.localeplanet.com/icu/nl-NL/index.html |
Yes, but like @untra said it before:
If you check that link it says:
Unless Ruby's |
If I understood the question correctly, there's another plugin for this use case called jekyll-date-localization With it the following code turns into localized time:
|
I think so, however the period and leading zero are not default in English. |
Please, translate the date shown under a post as they are currently all in English. Reported for version 1.5.0.
The text was updated successfully, but these errors were encountered: