Page 1 of 1

Can categories be multilingual?

Posted: Sat Sep 03, 2005 6:36 pm
by wesley
I got a suggestion from one of the folks browsing my site about having
the language of the categories of the blog matching the language chosen.
Sounds like a lot of work in the code though. I wonder how feasible it would
be to implement such thing. Pretty sure I'd have to manually enter the
category names for each language...

Re: Can categories be multilingual?

Posted: Sun Sep 04, 2005 12:25 am
by garvinhicking
Actually, it would be implementable.

0.9 supports plugin hooks for the properties of a category. You could then store multiple category names in a seperate database, and then make the category plugin get its hook so that the same plugin can inject the right category name into the output. That would then work like the multilingual plugin by checking the selected language and using it for querying the "multilingual_category" table...

This would be nice, indeed. I wonder why nobody has mentioned it before. :)

Regard,s
Garvin