password-protected and (m)qTranslate
-
Hi,
I have a mqTranslate powered multilingual site which chooses the content through the path:
https://mysite.com/ -> default language (en_US)
https://mysite.com/es -> Spanish (es_ES)Now, I’ve put into place the password-protected plugin and I’ve noticed that, although the URL to be redirected would be under the Spanish path, password-protected is still using the default language.
It seems the plugin just uses the default language of the site so I was wondering if it would be possible to add support to choose the language also based in the redirecting path, so when visiting:
Which it is re-written by password-protected as:
https://mysite.com/es?password-protected=login&redirect_to=http%3A%2F%2Fmysite.com%2Fes
It will be also translated into Spanish.
Thanks in advance and thank you for your plugin.
- The topic ‘password-protected and (m)qTranslate’ is closed to new replies.