{'Installed Languages'|@translate}

{foreach from=$language_states item=language_state}
{if $language_state == 'active'} {'Active Languages'|@translate} {elseif $language_state == 'inactive'} {'Inactive Languages'|@translate} {/if}
{foreach from=$languages item=language} {if $language.state == $language_state}
{$language.name}{if $language.is_default} ({'default'|@translate}){/if}
{if $language_state == 'active'} {if $language.deactivable} {'Deactivate'|@translate} {else} {'Deactivate'|@translate} {/if} {if not $language.is_default} | {'Default'|@translate} {/if} {/if} {if $language_state == 'inactive'} {'Activate'|@translate} | {'Delete'|@translate} {/if}
{/if} {/foreach}
{/foreach}