Okay, I'm running into an issue with jdiction's jdlanguage switcher
if In the joomla language filter plugin, I set the option not to show the language code of the default language ( which produces a better looking url and improves seo IMO ) then the jdlanguage switcher helper will still try and remove the language code of the url with "JString::substr" but end up removing part of the url.
For example if I have an article under a category, let's say the url is
www.test.com/12-category/article-title;
it will turn that url to
www.test.com/sc/category/article-title for simplified chinese.. if you pay attention you will see that the id of the category has been truncated "12-",
if I keep all the tags enabled there is no issue, it will simply remove the "en/" part of the url instead of the last 3 characters of the base url.
There is another issue with the meta tags generation, the title attribute should not be the menu item but the article's title in the specified language.
I'm a php newbie and would appreciate if you could help me.
Thank you