General Actions:
Information about the translation being edited and links to other translations.
#if($xwiki.isMultiLingual()==true)
#largepanelheader($msg.get("panels.translation.title"))
#if(($request.language)&&($request.language!="default")&&($doc.defaultLanguage!=$request.language))
#set($forcetrans = $request.language)
#set($rlanguage = $request.language)
#else
#set($forcetrans = "")
#set($rlanguage = $tdoc.language)
#end
#if((!$tdoc.language || $tdoc.language == "" || $tdoc.language == $doc.defaultLanguage)&&($forcetrans==""))
<div class="important"><strong>$msg.get("panels.translation.editingOriginal", [${doc.defaultLanguage}])</strong></div>
#if($!doc.translationList.size() > 0)
<div>$msg.get("panels.translation.existingTranslations")
#foreach($translation in $doc.translationList)
<a href="$doc.getURL("edit", "editor=${editor}&language=${translation}")">$translation</a>
#end
</div>
#end
#else
<div class="important"><strong>$msg.get("panels.translation.editingTranslation", [${rlanguage}])</strong></div>
<div>$msg.get("panels.translation.originalLanguage", [$doc.getURL("edit", "editor=${editor}&language=${doc.defaultLanguage}"), ${doc.defaultLanguage}])</div>
#if($doc.translationList.size() > 1)
<div>$msg.get("panels.translation.otherTranslations")
#foreach($translation in $doc.translationList)
#if($translation != $tdoc.language)
<a href="$doc.getURL("edit", "editor=${editor}&language=${translation}")">$translation</a>
#end
#end
</div>
#end
#end
<div>
$msg.get("panels.translation.translate")
#set($elangs = ",")
#foreach($elang in $doc.translationList)
#set($elangs = "${elangs}$elang,")
#end
#foreach($olang in $xwiki.getXWikiPreference("languages").split("[|, ]"))
#if(($elangs.indexOf(",$olang,") == -1) && ($olang != $doc.defaultLanguage) && ($olang != $forcetrans))
<a href="$doc.getURL("edit", "language=${olang}")">$olang</a>
#end
#end
</div>
#panelfooter()
#end