{#if availableLanguages?.length > 1}
{#if preferredFiltered} {#each preferredFiltered as language}
{native[language] ?? ""} {#if language !== $current} ({language_translations[language]?.[$current] ?? language}) {/if}
{/each}
{/if} {#each availableLanguages as language}
{native[language] ?? ""} {#if language !== $current} ({language_translations[language]?.[$current] + " - " + language ?? language}) {/if}
{/each}
{/if}