{* DO NOT EDIT THIS FILE! Use an override template instead. *}
{*?template charset=latin1?*}

<div align="center">
  <h1>{"Language support"|i18n("design/standard/setup/init")}</h1>
</div>
<p>
{"Use the radio buttons to choose the default language, and the checkboxes to choose additional languages. You will be able to use any of the selected languages for translating your content. The default language will determine the locale settings and will be used as the most prioritized language for your site."|i18n("design/standard/setup/init")}
</p>
<p>
{section show=$show_unicode_error}
<div class="warning">
  <h2>{"No Unicode support"|i18n('design/standard/setup/init')}</h2>
  <p>{"The database server you connected to does not support Unicode which means that you cannot choose all the languages as you did.
To fix this problem you must do one of the following:"|i18n('design/standard/setup/init')}</p>
  <ul>
    <li>{"Choose only languages that use similar characters, for instance: English and Norwegian will work together while English and Russian will not work."|i18n('design/standard/setup/init')}</li>
    <li>{"Make sure the database server is configured to use Unicode or that it has the latest software which supports Unicode."|i18n('design/standard/setup/init')}</li>
  </ul>
</div>
{/section}

<form method="post" action="{$script}">

<fieldset>
  <legend>{"Default/Additional"|i18n("design/standard/setup/init")}:</legend>

  <table border="0" cellspacing="0" cellpadding="0">
  {section name=Language loop=$language_list}
    <tr>
      <td class="normal">
       <input type="radio" id="eZSetupDefaultLanguage_{$:item.locale_code}" name="eZSetupDefaultLanguage" value="{$:item.locale_code}" {section show=$Language:item.locale_code|eq( $regional_info.primary_language )}checked="checked" {/section}/>
       <input type="checkbox" name="eZSetupLanguages[]" value="{$:item.locale_code}" {section show=$regional_info.languages|contains( $Language:item.locale_code )}{section show=$Language:item.locale_code|ne( $regional_info.primary_language )}checked="checked"{/section}{/section}/>
       <label for="eZSetupDefaultLanguage_{$:item.locale_code}" class="radio">{$:item.intl_language_name}</label>
      </td>
    </tr>
  {/section}
  </table>

</fieldset>

</p>

{include uri="design:setup/persistence.tpl"}

<div class="buttonblock">
  {include uri='design:setup/init/navigation.tpl'}
</div>


</form>
</p>

