Page 1 of 1

Category name not translated.

Posted: Tue Dec 07, 2010 6:51 pm
by TheSHEEEP
Hi there,

I installed the Multilingual entries plugin, and basically, it works as intended.
There is just a "little" problem.

I have a category named like this: "{{!en}}Projects{{--}}{{!de}}Projekte{{--}}"
In the sidebar (category list), it appears correctly.

But the footer of an entry looks like this:
Posted by JD in {{!en}}Projects{{--}}{{!de}}Projekte{{--}} at 12:52
Is there a better version of the multilingual plugin available, or am I doing something wrong?

There also is another "issue" with the categories:
Is there an easy way to set the permalink for each category individually?

Re: Category name not translated.

Posted: Wed Dec 08, 2010 10:33 am
by garvinhicking
Hi!

Ah, I see. Indeed the plugin currently only "patches" this language variant in quite restricted places. I now added the category_name to be replaced as well. Since I do not currently have a testing blog I had to make those changes in the code "blindly". It should work though:

http://php-blog.cvs.sourceforge.net/vie ... ingual.php

Maybe you can try it and report if that works for you? Also, I there added a new smarty modifier (see ChangeLog file: http://php-blog.cvs.sourceforge.net/vie ... /ChangeLog) so that you can in the future use a smraty modifier to patch additional places.

Sadly, the category permalink is always auto-generated and there currently is no interface to manually adjust those. The only quickfix idea about this would be to use mod_rewrite for manual addition. That wouldn't change the permalinks of a category when omitted by the frontend, though...

HTH,
Garvin