Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Localization of a date format and adding Russian language #815
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
Secondly, it would be convenient to provide an additional date format, like "Day MonthNotEnglish Year". For example, in Russian it should be
Maybe you could provide more flexible way by using config and name of month for each language:
Have a nice day and good luck!
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
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:
Additionally, I think to change
I'm sorry for the confusion.
Not without some work on your part. You'll need to use a plugin or do something like the following.