[ Index ]
 

Code source de eZ Publish 3.9.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/design/standard/templates/setup/init/ -> language_options.tpl (source)

   1  {* DO NOT EDIT THIS FILE! Use an override template instead. *}
   2  {*?template charset=latin1?*}
   3  
   4  <div align="center">
   5    <h1>{"Language support"|i18n("design/standard/setup/init")}</h1>
   6  </div>
   7  <p>
   8  {"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")}
   9  </p>
  10  <p>
  11  {section show=$show_unicode_error}
  12  <div class="warning">
  13    <h2>{"No Unicode support"|i18n('design/standard/setup/init')}</h2>
  14    <p>{"The database server you connected to does not support Unicode which means that you cannot choose all the languages as you did.
  15  To fix this problem you must do one of the following:"|i18n('design/standard/setup/init')}</p>
  16    <ul>
  17      <li>{"Choose only languages that use similar characters, for instance: English and Norwegian will work together while English and Russian won't work."|i18n('design/standard/setup/init')}</li>
  18      <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>
  19    </ul>
  20  </div>
  21  {/section}
  22  
  23  <form method="post" action="{$script}">
  24  
  25  <fieldset>
  26    <legend>{"Default/Additional"|i18n("design/standard/setup/init")}:</legend>
  27  
  28    <table border="0" cellspacing="0" cellpadding="0">
  29    {section name=Language loop=$language_list}
  30      <tr>
  31        <td class="normal">
  32         <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}/>
  33         <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}/>
  34         <label for="eZSetupDefaultLanguage_{$:item.locale_code}" class="radio">{$:item.intl_language_name}</label>
  35        </td>
  36      </tr>
  37    {/section}
  38    </table>
  39  
  40  </fieldset>
  41  
  42  <fieldset>
  43      <legend>{'Settings'|i18n( 'design/standard/setup/init' )}:</legend>
  44      {if $database_info.use_unicode}
  45          <label title="{'When selected the wizard sets up the site using Unicode.'|i18n( 'design/standard/setup/init' )|wash}"><input type="checkbox"{if $regional_info.enable_unicode} checked="checked"{/if} name="eZEnableUnicode" value="1" />{'Enable Unicode setup'|i18n( 'design/standard/setup/init' )}</label>
  46      {else}
  47          <label class="disabled" title="{'This is disabled since the chosen database cannot use Unicode characters.'|i18n( 'design/standard/setup/init' )|wash}"><input type="checkbox" name="eZEnableUnicode" disabled="disabled" value="1" />{'Enable Unicode setup'|i18n( 'design/standard/setup/init' )}</label>
  48      {/if}
  49  </fieldset>
  50  
  51  </p>
  52  
  53  {include uri="design:setup/persistence.tpl"}
  54  
  55  <div class="buttonblock">
  56    {include uri='design:setup/init/navigation.tpl'}
  57  </div>
  58  
  59  
  60  </form>
  61  </p>
  62  


Généré le : Sat Feb 24 10:30:04 2007 par Balluche grâce à PHPXref 0.7