"view all {{posts}} ...." link broken for Chinese category name

(Rae) #1

I am not sure if this is a bug. I am suspecting maybe I am missing something here.

When I create a category in Chinese, it will automatically has a generic “category-1” identifier, which works fine. But then when I am under the “Categories” view, the “view all {{posts}}…” link at the bottom of each category panel won’t work.

The link href points to “category/”, so the string after the slash is not rendered properly. I am suspecting it’s due to the template parses the raw name of the category. I might be wrong.

Digging into the code in jsapp/templates/featured_topics.js.handlebars at line 70:

<a href='/category/{{unbound slug}}' class='btn btn-small'>{{i18n category.more_posts posts="topic_count"}}</a>

I guess {{unbound slug}} is where the problem is at. But I am not familiar with the source, so I can’t be sure about this.


(Jeff Atwood) #2

We are about to deprecate this two column style of category page in favor of the wide category page (with enhancements) so closing this.

(Jeff Atwood) #3