Skip to content
This repository has been archived by the owner on Aug 28, 2019. It is now read-only.

Support for i18n? #14

Open
vperic opened this issue Dec 11, 2014 · 3 comments
Open

Support for i18n? #14

vperic opened this issue Dec 11, 2014 · 3 comments

Comments

@vperic
Copy link

vperic commented Dec 11, 2014

It's my first time using Jekyll (very nice theme, btw!) so maybe I'm just missing something, but is there support for localization? I did find some things I could change manually, but there must be a way for me to change dates and such automatically?

Additionally, would you consider allowing pages/posts in multiple languages?

@mmistakes
Copy link
Owner

There's no simple way to localize the theme. You basically have to modify a few of the layouts and includes anywhere a date is used to display on the correct format. It's far from automatic and you really have to know what you're looking for to fully localize it.

On one of my other themes someone forked it and created a localized version for one language. I think that's the way to go since it would next to impossible to keep the theme simple while trying to cater to a host of locales.

If you want to support posts/pages in multiple languages there are no "off the shelf" solutions I'm aware of. I've seen a few blog posts where people share how they went about doing it. But each of theme were fairly involved and can be intimidating for someone just starting with Jekyll. You're probably best looking at a full blown CMS that specializes in doing language variants.

Jekyll is one of those things that lets you do approach things in multiple ways. Which can be a blessing if you like to tinkerand build something from scratch, and a curse if you don't know where to start and are just learning.

@yonojoy
Copy link
Contributor

yonojoy commented Nov 6, 2015

I have localized some hardcoded texts ("Overview", "Table of Contents", "Written by", "Updated") in my fork. Any interest that I submit this as pull request?
(see yonojoy@99f6616)

@JOduMonT
Copy link

@vperic
I tried different method about localisation my site/blog (WordPress & Jekyll) and always finish by having 2 differents sites, with the second language as a sub-domain for SEO reason.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants