Hi Chouby,
I got it to work by changing it to:
if ( isset( $this->_links[$link] ) && ! empty( $this->links_model->get_language_from_url( $link ) ) )
return $this->_links[$link];
Now I need to work out why the /de/blog/
page is redirecting to /en/blog/
.
Happy New Year!