Posted by tarun_nagpal on November 12, 2014 at 8:38am
I have a multilingual site. There is a strange problem i am facing.
Whenever i try to access a non permitted page and redirected to access denied page.
Then i log in with the credentials then the page shows double language prefix.
For example :-
Comments
Check hook_url_outbound_alter
Check the modules u r using.It seems that it is happening due to hook_url_outbound_alter and hook_url_inbound_alter Check in your custom modules then look at the contrib modules that r using this.
It seems that any module is adding a language prefix again.
P.S. : Please don't post these types of discussion in Accessiblity group as this is not related to multilingual so posting the post related to its group can get the answers soon :)
Multilingual group : https://groups.drupal.org/internationalization
Naveen Valecha
https://www.valechatech.net
Thanks for reply
Hi Naveen, Thanks for the reply but i haven't implemented the hook_url_inbound_alter. But what i can guess any contrib module might be adding a language prefix. Do you know the exact settings fro the language prefix.?
P.S : I have removed the Tag (Accessibility Group) in this post.
ON active languages page
Language prefixes are in the edit page of your active languages admin/config/regional/language
and language detection methods are there admin/config/regional/language/configure
Naveen Valecha
https://www.valechatech.net
this issue is related to configuration and theme templete
This issue is related to i18n configuration and theme template