{** * templates/admin/languages.tpl * * Copyright (c) 2013-2015 Simon Fraser University Library * Copyright (c) 2003-2015 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * Form to edit site language settings. * *} {strip} {assign var="pageTitle" value="common.languages"} {include file="common/header.tpl"} {/strip}

{translate key="admin.languages.languageSettings"}

{translate key="locale.primary"}
{translate key="admin.languages.primaryLocaleInstructions"}
{translate key="locale.supported"} {foreach from=$installedLocales item=localeKey} {/foreach}
{if !$localesComplete[$localeKey]} * {assign var=incompleteLocaleFound value=1} {/if}
{translate key="admin.languages.supportedLocalesInstructions"} {if $incompleteLocaleFound}
* {translate key="admin.locale.maybeIncomplete"} {/if}{* $incompleteLocaleFound *}

{translate key="admin.languages.installLanguages"}

{translate key="admin.languages.installedLocales"}

{foreach from=$installedLocales item=localeKey} {/foreach}
• {$localeNames.$localeKey|escape} ({$localeKey|escape}) {translate key="admin.languages.reload"} | {translate key="admin.languages.reloadDefaultEmailTemplates"}{if $localeKey != $primaryLocale} | {translate key="admin.languages.uninstall"}{/if}

{translate key="admin.languages.installNewLocales"}

{translate key="admin.languages.installNewLocalesInstructions"}

{assign var=incompleteLocaleFound value=0} {foreach from=$uninstalledLocales item=localeKey} {if !$localesComplete[$localeKey]} * {assign var=incompleteLocaleFound value=1} {/if}
{foreachelse} {assign var="noLocalesToInstall" value="1"} {translate key="admin.languages.noLocalesAvailable"} {/foreach} {if $incompleteLocaleFound}
* {translate key="admin.locale.maybeIncomplete"} {/if}{* $incompleteLocaleFound *} {if not $noLocalesToInstall}

{/if}

{translate key="admin.languages.downloadLocales"}

{if $downloadAvailable} {foreach from=$downloadableLocales item=downloadableLocale} {foreachelse} {/foreach}
• {$downloadableLocale.name|escape} ({$downloadableLocale.key}) {translate key="admin.languages.download"}
{translate key="common.none"}
{else}{* not $downloadAvailable *} {translate key="admin.languages.downloadUnavailable"} {/if}{* $downloadAvailable *}
{include file="common/footer.tpl"}