Is there any way this can be achieved? A simple line like locale: en would do. (And also cloning the slug as uid, but that might be a completely different beast to solve…)
What I’m looking for, I guess, is some kind of variable (:locale, {{i18n.language}} or what have you) that can be saved along with everything else. And not cloned between languages – must be unique per translation.
Hi, yes, I guess I ought to do that. Since posting this however I’ve learned more about defaults in Jekyll so I managed to accomplish what I needed for now. (For those interested, IIRC it was a matter of setting scope to path containing en/** etc, and then applying the corresponding lang value)
Oh, and I never got the no-plug-in approach to work so I used jekyll-polyglot to great success