CRM-16172 - Add help text to Localization Settings page
[civicrm-core.git] / templates / CRM / Admin / Form / Setting / Localization.tpl
1 {*
2 +--------------------------------------------------------------------+
3 | CiviCRM version 4.6 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2015 |
6 +--------------------------------------------------------------------+
7 | This file is a part of CiviCRM. |
8 | |
9 | CiviCRM is free software; you can copy, modify, and distribute it |
10 | under the terms of the GNU Affero General Public License |
11 | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
12 | |
13 | CiviCRM is distributed in the hope that it will be useful, but |
14 | WITHOUT ANY WARRANTY; without even the implied warranty of |
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
16 | See the GNU Affero General Public License for more details. |
17 | |
18 | You should have received a copy of the GNU Affero General Public |
19 | License and the CiviCRM Licensing Exception along |
20 | with this program; if not, contact CiviCRM LLC |
21 | at info[AT]civicrm[DOT]org. If you have questions about the |
22 | GNU Affero General Public License or the licensing of CiviCRM, |
23 | see the CiviCRM license FAQ at http://civicrm.org/licensing |
24 +--------------------------------------------------------------------+
25 *}
26 <div class="crm-block crm-form-block crm-localization-form-block">
27 <div class="help">
28 {ts}Configure CiviCRM for your country and language.{/ts}
29 {docURL page="i18n Administrator's Guide: Using CiviCRM in your own language" resource="wiki"}
30 </div>
31 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"} </div>
32 <h3>{ts}Language and Currency{/ts}</h3>
33 <table class="form-layout-compressed">
34 <tr class="crm-localization-form-block-lcMessages">
35 <td class="label">{$form.lcMessages.label}</td>
36 <td>{$form.lcMessages.html}</td>
37 </tr>
38 {if $form.languageLimit}
39 <tr class="crm-localization-form-block-languageLimit">
40 <td class="label">{$form.languageLimit.label}</td>
41 <td>{$form.languageLimit.html}<br />
42 <span class="description">{ts}Languages available to users of this installation.{/ts}</span></td>
43 </tr>
44 <tr class="crm-localization-form-block-addLanguage">
45 <td class="label">{$form.addLanguage.label}</td>
46 <td>{$form.addLanguage.html}<br />
47 <span class="description">{ts}Add a new language to this installation.{/ts}</span></td>
48 </tr>
49 {/if}
50 <tr class="crm-localization-form-block-inheritLocale">
51 <td class="label">{$form.inheritLocale.label} {help id='inheritLocale' title=$form.inheritLocale.label}</td>
52 <td>{$form.inheritLocale.html}</td>
53 </tr>
54 <tr class="crm-localization-form-block-defaultCurrency">
55 <td class="label">{$form.defaultCurrency.label} {help id='defaultCurrency' title=$form.defaultCurrency.label}</td>
56 <td>{$form.defaultCurrency.html}</td>
57 </tr>
58 <tr class="crm-localization-form-block-monetaryThousandSeparator">
59 <td class="label">{$form.monetaryThousandSeparator.label}</td>
60 <td>{$form.monetaryThousandSeparator.html}</td>
61 </tr>
62 <tr class="crm-localization-form-block-monetaryDecimalPoint">
63 <td class="label">{$form.monetaryDecimalPoint.label}</td>
64 <td>{$form.monetaryDecimalPoint.html}</td>
65 </tr>
66 <tr class="crm-localization-form-block-currencyLimit">
67 <td class="label">{$form.currencyLimit.label}</td>
68 <td>{$form.currencyLimit.html}</td>
69 </tr>
70 <tr class="crm-localization-form-block-moneyformat">
71 <td class="label">{$form.moneyformat.label} {help id='moneyformat' title=$form.moneyformat.label}</td>
72 <td>{$form.moneyformat.html}</td>
73 </tr>
74 <tr class="crm-localization-form-block-moneyvalueformat">
75 <td class="label">{$form.moneyvalueformat.label} {help id='moneyvalueformat' title=$form.moneyvalueformat.label}</td>
76 <td>{$form.moneyvalueformat.html}</td>
77 </tr>
78 <tr class="crm-localization-form-block-customTranslateFunction">
79 <td class="label">{$form.customTranslateFunction.label} {help id='customTranslateFunction' title=$form.customTranslateFunction.label}</td>
80 <td>{$form.customTranslateFunction.html}</td>
81 </tr>
82 <tr class="crm-localization-form-block-legacyEncoding">
83 <td class="label">{$form.legacyEncoding.label} {help id='legacyEncoding' title=$form.legacyEncoding.label}</td>
84 <td>{$form.legacyEncoding.html}</td>
85 </tr>
86 <tr class="crm-localization-form-block-fieldSeparator">
87 <td class="label">{$form.fieldSeparator.label} {help id='fieldSeparator' title=$form.fieldSeparator.label}</td>
88 <td>{$form.fieldSeparator.html}</td>
89 </tr>
90 </table>
91 <h3>{ts}Contact Address Fields - Selection Values{/ts}</h3>
92 <table class="form-layout-compressed">
93 <tr class="crm-localization-form-block-defaultContactCountry">
94 <td class="label">{$form.defaultContactCountry.label} {help id='defaultContactCountry' title=$form.defaultContactCountry.label}</td>
95 <td>{$form.defaultContactCountry.html}</td>
96 </tr>
97 <tr class="crm-localization-form-block-defaultContactStateProvince">
98 <td class="label">{$form.defaultContactStateProvince.label} {help id='defaultContactCountry' title=$form.defaultContactStateProvince.label}</td>
99 <td>{$form.defaultContactStateProvince.html}</td>
100 </tr>
101 <tr class="crm-localization-form-block-countryLimit">
102 <td class="label">{$form.countryLimit.label} {help id='countryLimit' title=$form.countryLimit.label}</td>
103 <td>{$form.countryLimit.html}</td>
104 </tr>
105 <tr class="crm-localization-form-block-provinceLimit">
106 <td class="label">{$form.provinceLimit.label} {help id='provinceLimit' title=$form.provinceLimit.label}</td>
107 <td>{$form.provinceLimit.html}</td>
108 </tr>
109 </table>
110 <h3>{ts}Multiple Languages Support{/ts}</h3>
111 <table class="form-layout-compressed">
112 {if $form.languageLimit}
113 <tr class="crm-localization-form-block-makeSinglelingual_description">
114 <td></td>
115 <td><span class="description">{ts 1="http://documentation.civicrm.org"}This is a multilingual installation. It contains certain schema differences compared to regular installations of CiviCRM. Please <a href="%1">refer to the documentation</a> for details.{/ts}</span></td>
116 </tr>
117 <tr class="crm-localization-form-block-makeSinglelingual">
118 <td class="label">{$form.makeSinglelingual.label}</td>
119 <td>{$form.makeSinglelingual.html}<br />
120 <span class="description">{ts}Check this box and click 'Save' to switch this installation from multi- to single-language.{/ts}</span><br /><br />
121 <span class="description" style="color:red">{$warning}</span></td>
122 </tr>
123 {elseif $form.makeMultilingual}
124 <tr class="crm-localization-form-block-makeMultilingual">
125 <td class="label">{$form.makeMultilingual.label}</td>
126 <td>{$form.makeMultilingual.html}<br />
127 <span class="description">{ts}Check this box and click 'Save' to switch this installation from single- to multi-language, then add further languages.{/ts}</span><br /><br />
128 <span class="description" style="color:red">{$warning}</span></td>
129 {else}
130 <tr class="crm-localization-form-block-description">
131 <td>
132 <span class="description">{ts}In order to use this functionality, the installation's database user must have privileges to create triggers (in MySQL 5.0 – and in MySQL 5.1 if binary logging is enabled – this means the SUPER privilege). This install either does not seem to have the required privilege enabled.{/ts} {ts}(Multilingual support currently cannot be enabled on installations with enabled logging.){/ts}</span><br /><br />
133 <span class="description" style="color:red">{$warning}</span></td>
134 </tr>
135 {/if}
136 </table>
137 <div class="crm-submit-buttons">
138 {include file="CRM/common/formButtons.tpl" location="bottom"}
139 </div>
140 <div class="spacer"></div>
141 </div>