Modify cms to accept friendly url.
The problem for cms is that .htaccess rules do not recognize language parameters, passed the way:
[login to view URL]
You must create SEO links in another way, so it will be created like [login to view URL]
and change .htaccess SEO section, so it could recognize such links and make redirection.