Thread Starter
tho
(@tho)
Same problem is here:
http://blog.coinection.com/en/categoryglish/
http://blog.coinection.com/de/category/english/
the “/en” is missing in the category name when the language is english
Thread Starter
tho
(@tho)
Off topic: Why am I not able to edit my old posts? I cannot delete the domain from my post! The domain is unnecessary to solve the problem! I really hate that!
1) in current version you can’t have few slugs for one post or page – you can do it with additional plugin (http://wordpress.org/support/topic/171441?replies=12)
3) have i ever tell that you can change en to englsih key and everithing will work?
2) its also not a question about my plugin. its dosn’t overite edition of post, its just select langauge posts from postmeta table. deactivate my plugin and tri to edit that posts…
Thread Starter
tho
(@tho)
Oh, I’m very sorry if I wrote my 3rd post in this forum here not so good.
This post: “Off topic: Why am I not able to edit my old posts? I cannot delete the domain from my post! The domain is unnecessary to solve the problem! I really hate that!”
.. has nothing to do with your cool plugin. I’m really sorry if that was not clear! It only means, that I cannot edit posts in this wordpress support forum here, and this is what I hate.
Back to On topic:
I think that your hint “3) have i ever tell that you can change en to englsih key and everithing will work?” will be my solution. Thank you very much for your help.
Greetings tho
I’ve had a similar problem with some categories in my blog (http://blog.boullosa.org/pt. Then I found that the problem only ocurred with the categories that started with the same letters as the language code. For example, in english (en), the category “entertainment”, or, in spanish (es), the category “esportes”.
I fixed it by changing one line in the LanguageLink function – more or less in the line 1213 of multilingual.php v. 1.3.4.12:
Instead of
case 'root':
$str = $home.$code.str_replace('/'.$GLOBALS['language'], '', $urls['path']);
use this
case 'root':
$str = $home.$code.str_replace('/'.$GLOBALS['language'].'/', '/', $urls['path']);
I assume this will only fix the bug for people who use the blog in the domain root, like I do.
Hope this helps.