Fix for translation links in some scenarios
When translations are restricted to a namespace, and
the plugin is installed using option 1 (original language
has no namespace prefix), links were generated incorrectly.