Wiredcraft / jekyllpro-cms

A lightweight CMS for Jekyll websites.
http://jekyllpro.com/#cms
MIT License
7 stars 2 forks source link

Category not working for translated collections #41

Open hunvreus opened 7 years ago

hunvreus commented 7 years ago

If I create an entry for a custom collection (e.g. "products") and the website supports multiple languages (with languages define in _config.yml), then we need to save the language as both lang: and categories:.

JuhaS commented 7 years ago

Related to #36

JuhaS commented 7 years ago

CLosing, included in #36

JuhaS commented 7 years ago

Reopening and tracking this specific issue here. Reworded explanation of this issue:

When the language is not default, you need to save the language as categories: in the YAML front matter as well. For example;

title: Non default language post
lang: en
categories: en

What page: Create/edit entry.

haishanh commented 7 years ago

@JuhaS This should've been fixed and deployed.

JuhaS commented 7 years ago

@hunvreus can you validate it's working as intended?

hunvreus commented 7 years ago

@ChelseaGui can test too actually since she's familiar with the problem.

I'll go ahead and create an entry later on today.

JuhaS commented 7 years ago

@samcheah can you help test if this works as intended?

samcheah commented 7 years ago

I'm not familiar with the issue, but @ChelseaGui said that this has been fixed and tested?