Case Type refactoring
[civicrm-core.git] / templates / CRM / Admin / Form / Setting / Localization.tpl
CommitLineData
6a488035
TO
1{*
2 +--------------------------------------------------------------------+
819d0d41 3 | CiviCRM version 4.5 |
6a488035 4 +--------------------------------------------------------------------+
819d0d41 5 | Copyright CiviCRM LLC (c) 2004-2014 |
6a488035
TO
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="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"} </div>
edc51caa 28 <h3>{ts}Language and Currency{/ts}</h3>
6a488035
TO
29 <table class="form-layout-compressed">
30 <tr class="crm-localization-form-block-lcMessages">
31 <td class="label">{$form.lcMessages.label}</td>
32 <td>{$form.lcMessages.html}<br />
33 <span class="description">{ts}Default language used for this installation.{/ts}</span></td>
34 </tr>
35 {if $form.languageLimit}
edc51caa 36 <tr class="crm-localization-form-block-languageLimit">
6a488035
TO
37 <td class="label">{$form.languageLimit.label}</td>
38 <td>{$form.languageLimit.html}<br />
39 <span class="description">{ts}Languages available to users of this installation.{/ts}</span></td>
40 </tr>
41 <tr class="crm-localization-form-block-addLanguage">
42 <td class="label">{$form.addLanguage.label}</td>
43 <td>{$form.addLanguage.html}<br />
44 <span class="description">{ts}Add a new language to this installation.{/ts}</span></td>
45 </tr>
46 {/if}
47 <tr class="crm-localization-form-block-inheritLocale">
48 <td class="label">{$form.inheritLocale.label}</td>
49 <td>{$form.inheritLocale.html}<br />
50 <span class="description">{ts}If checked, CiviCRM will follow CMS language changes.{/ts}</span></td>
51 </tr>
52 <tr class="crm-localization-form-block-defaultCurrency">
53 <td class="label">{$form.defaultCurrency.label}</td>
54 <td>{$form.defaultCurrency.html}<br />
55 <span class="description">{ts}Default currency assigned to contributions and other monetary transactions.{/ts}</span></td>
56 </tr>
57 <tr class="crm-localization-form-block-monetaryThousandSeparator">
58 <td class="label">{$form.monetaryThousandSeparator.label}</td>
59 <td>{$form.monetaryThousandSeparator.html}</td>
60 </tr>
61 <tr class="crm-localization-form-block-monetaryDecimalPoint">
62 <td class="label">{$form.monetaryDecimalPoint.label}</td>
63 <td>{$form.monetaryDecimalPoint.html}</td>
64 </tr>
65 <tr class="crm-localization-form-block-currencyLimit">
66 <td class="label">{$form.currencyLimit.label}</td>
67 <td>{$form.currencyLimit.html}</td>
68 </tr>
69 <tr class="crm-localization-form-block-moneyformat">
70 <td class="label">{$form.moneyformat.label}</td>
71 <td>{$form.moneyformat.html}<br />
72 <span class="description">{ts}Format for displaying monetary amounts.{/ts}</span></td>
73 </tr>
74 <tr class="crm-localization-form-block-moneyvalueformat">
75 <td class="label">{$form.moneyvalueformat.label}</td>
76 <td>{$form.moneyvalueformat.html}<br />
77 <span class="description">{ts}Format for displaying monetary values.{/ts}</span></td>
78 </tr>
79 <tr class="crm-localization-form-block-customTranslateFunction">
80 <td class="label">{$form.customTranslateFunction.label}</td>
81 <td>{$form.customTranslateFunction.html}<br />
82 <span class="description">{ts}Function name to use for translation inplace of the default CiviCRM translate function. {/ts}</span></td>
83 </tr>
84 <tr class="crm-localization-form-block-legacyEncoding">
85 <td class="label">{$form.legacyEncoding.label}</td>
86 <td>{$form.legacyEncoding.html}<br />
87 <span class="description">{ts}If import files are NOT encoded as UTF-8, specify an alternate character encoding for these files. The default of <strong>Windows-1252</strong> will work for Excel-created .CSV files on many computers.{/ts}</span></td>
88 </tr>
89 <tr class="crm-localization-form-block-fieldSeparator">
90 <td class="label">{$form.fieldSeparator.label}</td>
91 <td>{$form.fieldSeparator.html}<br />
92 <span class="description">{ts}Global CSV separator character. Modify this setting to enable import and export of different kinds of CSV files (for example: ',' ';' ':' '|' ).{/ts}</span></td>
93 </tr>
94 </table>
95 <h3>{ts}Contact Address Fields - Selection Values{/ts}</h3>
96 <table class="form-layout-compressed">
97 <tr class="crm-localization-form-block-defaultContactCountry">
98 <td class="label">{$form.defaultContactCountry.label}</td>
99 <td>{$form.defaultContactCountry.html}<br />
100 <span class="description">{ts}This value is selected by default when adding a new contact address.{/ts}</span></td>
101 </tr>
edc51caa 102 <tr class="crm-localization-form-block-defaultContactStateProvince">
6a488035
TO
103 <td class="label">{$form.defaultContactStateProvince.label}</td>
104 <td>{$form.defaultContactStateProvince.html}<br />
105 <span class="description">{ts}This value is selected by default when adding a new contact address.{/ts}</span></td>
106 </tr>
107 <tr class="crm-localization-form-block-countryLimit">
108 <td class="label">{$form.countryLimit.label}</td>
109 <td>{$form.countryLimit.html}<br />
110 <span class="description">{ts}Which countries are available in the Country selection field when adding or editing contact addresses. Profile and Custom 'Country' fields also use this setting. To include ALL countries, leave the right-hand box empty.{/ts}</span></td>
111 </tr>
112 <tr class="crm-localization-form-block-provinceLimit">
113 <td class="label">{$form.provinceLimit.label}</td>
114 <td>{$form.provinceLimit.html}<br />
115 <span class="description">{ts}State/province listings are populated dynamically based on the selected Country for all standard contact address editing forms, as well as for <strong>Profile forms which include both a Country and a State/Province field</strong>. This setting controls which countries' states and/or provinces are available in the State / Province selection field <strong>for Custom Fields</strong> or for Profile forms which do NOT include a Country field.{/ts}</span></td>
116 </tr>
117 </table>
edc51caa 118 <h3>{ts}Multiple Languages Support{/ts}</h3>
6a488035
TO
119 <table class="form-layout-compressed">
120 {if $form.languageLimit}
121 <tr class="crm-localization-form-block-makeSinglelingual_description">
122 <td></td>
123 <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>
124 </tr>
125 <tr class="crm-localization-form-block-makeSinglelingual">
126 <td class="label">{$form.makeSinglelingual.label}</td>
edc51caa 127 <td>{$form.makeSinglelingual.html}<br />
6a488035
TO
128 <span class="description">{ts}Check this box and click 'Save' to switch this installation from multi- to single-language.{/ts}</span><br /><br />
129 <span class="description" style="color:red">{$warning}</span></td>
130 </tr>
131 {elseif $form.makeMultilingual}
132 <tr class="crm-localization-form-block-makeMultilingual">
133 <td class="label">{$form.makeMultilingual.label}</td>
134 <td>{$form.makeMultilingual.html}<br />
135 <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 />
136 <span class="description" style="color:red">{$warning}</span></td>
137 {else}
138 <tr class="crm-localization-form-block-description">
139 <td>
140 <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 currenly cannot be enabled on installations with enabled logging.){/ts}</span><br /><br />
edc51caa 141 <span class="description" style="color:red">{$warning}</span></td>
6a488035
TO
142 </tr>
143 {/if}
144 </table>
145 <div class="crm-submit-buttons">
146 {include file="CRM/common/formButtons.tpl" location="bottom"}
147 </div>
148<div class="spacer"></div>
149</div>