Thread:Project:Support desk/Sidebar links

At MediaWiki:Sidebar, I can set it up so that people with a French interface see an item on the sidebar as the contents of MediaWiki:Foo-text/fr and people with an English interface see it as the contents of MediaWiki:Foo-text. However, everyone gets linked to to the contents of MediaWiki:Foo-url, even if they have a French interface and MediaWiki:Foo-url/fr exists. How to I make French people link to the right place? Thank you.