<div dir="ltr">If the link is translatable to map to a relevant article in each language, don't put it in a tvar at all, let translators adapt it (note that it's not just the name of the article, it could be another name for a more general article, with an anchor to a section.<div>The alternative would be to use some wikidata querying template, but I fear that this template will be very specific to the wiki where it will be used and where it is implemented.</div><div><br></div><div>Keep things simple in that case:</div><div><br></div><div>You may use a tvar only if the link is static or points to the same international wiki (that has translations such as Meta, Common or MediaWiki) which implements the translate extension, by using a "Special:MyLanguage/" prefix before the article link (it will resolve to the local page name translated in the viewer's language (or at least a fallback language).<br></div><div><br></div><div>For other cases, don't use any tvar, keep the link adaptable by translators (if they need to), avoid using any local template in your tvar, that would work only in one wiki.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-12-06 10:36 GMT+01:00 mathieu stumpf guntz <span dir="ltr"><<a href="mailto:psychoslave@culture-libre.org" target="_blank">psychoslave@culture-libre.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  

    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <p><font face="Linux Biolinum O">how should I prepare a link likeĀ 
        [[:en:UTF-8|UTF-8]] with tvar ?</font></p>
    <p><font face="Linux Biolinum O">The easy way is
        [[<tvar|link>:en:UTF-8</>|UTF-<wbr>8]], I guess.</font></p>
    <p><font face="Linux Biolinum O">But it would be better if the link
        would lead to the localized wikipedia article if it does exist,
        but fallback on the original otherwise. Such a behaviour is in
        fact rather tricky to perform, and I'm little stuck there,
        trying to misc. combination of "{{#translation:}}" and
        "Special:MyLanguage/". Maybe some magic keyword jedi master
        might help here? :)<br>
      </font></p>
  </div>

<br>______________________________<wbr>_________________<br>
Translators-l mailing list<br>
<a href="mailto:Translators-l@lists.wikimedia.org">Translators-l@lists.wikimedia.<wbr>org</a><br>
<a href="https://lists.wikimedia.org/mailman/listinfo/translators-l" rel="noreferrer" target="_blank">https://lists.wikimedia.org/<wbr>mailman/listinfo/translators-l</a><br>
<br></blockquote></div><br></div>