title: $:/snippets/languageswitcher
\define flag-title()
$(languagePluginTitle)$/icon
\end
<$linkcatcher to="$:/language">
<$list filter="[[$:/languages/en-GB]] [plugin-type[language]sort[description]]">
<$set name="cls" filter="[all[current]field:title{$:/language}]" value="tc-chooser-item tc-chosen" emptyValue="tc-chooser-item">
>>
<$link>
<$set name="languagePluginTitle" value=<>>
<$transclude subtiddler=<>>
<$list filter="[all[current]field:title[$:/languages/en-GB]]">
<$transclude tiddler="$:/languages/en-GB/icon"/>
$list>
$transclude>
$set>
<$view field="description">
<$view field="name">
<$view field="title"/>
$view>
$view>
$link>
$set>
$list>
$linkcatcher>