-
Notifications
You must be signed in to change notification settings - Fork 25.8k
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
Localization of a date format and adding Russian language #815
Comments
Thanks for the translations. I'll definitely add them to the next release. As far as localizing the date. Ideally Jekyll core would support it instead of having to resort to a bunch of Liquid code. Something like this was proposed but appears to have gone stale jekyll/jekyll#5478 |
Thank you! It will be really great, if Jekyll supports date formatting natively. |
I have to admit, that I have found one mistake in russian "read time". In case of exactly "1 minute read" there is not right ending in russian text "1 минут(ы) на чтение". It should be "1 минута на чтение". So, there are 3 case:
But option
Additionally, I think to change I'm sorry for the confusion. |
Is it possible to have a multiple language site? |
Not without some work on your part. You'll need to use a plugin or do something like the following. |
Thank you. I will try it. |
Hello, Michael!
Many thanks for the flexible and useful theme for Jekyll. I would like to help you to translate your theme for Russian users. I hope, it helps you and other russian users of your theme.
At first, please add the code below to
_data/ui-text.yml
:Secondly, it would be convenient to provide an additional date format, like "Day MonthNotEnglish Year". For example, in Russian it should be
10 марта 2016
instead ofMarch 09, 2016
. I decide this problem in the following way. I edited the file_layouts/single.html
like this:Maybe you could provide more flexible way by using config and name of month for each language:
Have a nice day and good luck!
The text was updated successfully, but these errors were encountered: