Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | {* |
2 | +--------------------------------------------------------------------+ | |
1188c7a8 | 3 | | Copyright CiviCRM LLC. All rights reserved. | |
6a488035 | 4 | | | |
1188c7a8 TO |
5 | | This work is published under the GNU AGPLv3 license with some | |
6 | | permitted exceptions and without any warranty. For full license | | |
7 | | and copyright information, see https://civicrm.org/licensing | | |
6a488035 TO |
8 | +--------------------------------------------------------------------+ |
9 | *} | |
44255b79 MR |
10 | <div class="help"> |
11 | {ts}Configure CiviCRM for your country and language.{/ts} | |
12 | {docURL page="i18n Administrator's Guide: Using CiviCRM in your own language" resource="wiki"} | |
13 | </div> | |
6a488035 | 14 | <div class="crm-block crm-form-block crm-localization-form-block"> |
c6407d7c | 15 | <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"} </div> |
edc51caa | 16 | <h3>{ts}Language and Currency{/ts}</h3> |
6a488035 TO |
17 | <table class="form-layout-compressed"> |
18 | <tr class="crm-localization-form-block-lcMessages"> | |
19 | <td class="label">{$form.lcMessages.label}</td> | |
c6407d7c | 20 | <td>{$form.lcMessages.html}</td> |
6a488035 TO |
21 | </tr> |
22 | {if $form.languageLimit} | |
edc51caa | 23 | <tr class="crm-localization-form-block-languageLimit"> |
6a488035 TO |
24 | <td class="label">{$form.languageLimit.label}</td> |
25 | <td>{$form.languageLimit.html}<br /> | |
26 | <span class="description">{ts}Languages available to users of this installation.{/ts}</span></td> | |
27 | </tr> | |
28 | <tr class="crm-localization-form-block-addLanguage"> | |
29 | <td class="label">{$form.addLanguage.label}</td> | |
30 | <td>{$form.addLanguage.html}<br /> | |
31 | <span class="description">{ts}Add a new language to this installation.{/ts}</span></td> | |
32 | </tr> | |
33 | {/if} | |
34 | <tr class="crm-localization-form-block-inheritLocale"> | |
c6cc337b MW |
35 | <td class="label">{$form.inheritLocale.label}</td> |
36 | <td>{$form.inheritLocale.html}<br /> | |
37 | <span class="description">{$settings_fields.inheritLocale.description}</span> | |
38 | </td> | |
6a488035 | 39 | </tr> |
921ed8ae | 40 | {if !$form.languageLimit} |
fe810d04 AS |
41 | <tr class="crm-localization-form-block-uiLanguages"> |
42 | <td class="label">{$form.uiLanguages.label}</td> | |
43 | <td>{$form.uiLanguages.html}</td> | |
44 | </tr> | |
921ed8ae | 45 | {/if} |
9747df8a | 46 | <tr class="crm-localization-form-contact_default_language"> |
47 | <td class="label">{$form.contact_default_language.label}</td> | |
48 | <td>{$form.contact_default_language.html}<br /> | |
c6cc337b MW |
49 | <span class="description">{$settings_fields.contact_default_language.description}</span> |
50 | </td> | |
9747df8a | 51 | </tr> |
6a488035 | 52 | <tr class="crm-localization-form-block-defaultCurrency"> |
c6407d7c CW |
53 | <td class="label">{$form.defaultCurrency.label} {help id='defaultCurrency' title=$form.defaultCurrency.label}</td> |
54 | <td>{$form.defaultCurrency.html}</td> | |
6a488035 TO |
55 | </tr> |
56 | <tr class="crm-localization-form-block-monetaryThousandSeparator"> | |
57 | <td class="label">{$form.monetaryThousandSeparator.label}</td> | |
58 | <td>{$form.monetaryThousandSeparator.html}</td> | |
59 | </tr> | |
60 | <tr class="crm-localization-form-block-monetaryDecimalPoint"> | |
61 | <td class="label">{$form.monetaryDecimalPoint.label}</td> | |
62 | <td>{$form.monetaryDecimalPoint.html}</td> | |
63 | </tr> | |
64 | <tr class="crm-localization-form-block-currencyLimit"> | |
65 | <td class="label">{$form.currencyLimit.label}</td> | |
66 | <td>{$form.currencyLimit.html}</td> | |
67 | </tr> | |
68 | <tr class="crm-localization-form-block-moneyformat"> | |
c6407d7c CW |
69 | <td class="label">{$form.moneyformat.label} {help id='moneyformat' title=$form.moneyformat.label}</td> |
70 | <td>{$form.moneyformat.html}</td> | |
6a488035 TO |
71 | </tr> |
72 | <tr class="crm-localization-form-block-moneyvalueformat"> | |
c6407d7c | 73 | <td class="label">{$form.moneyvalueformat.label} {help id='moneyvalueformat' title=$form.moneyvalueformat.label}</td> |
9a894bf1 | 74 | <td>{$form.moneyvalueformat.html}<br> Note that this setting is proposed to be deprecated as per this <a href="https://lab.civicrm.org/dev/core/-/issues/1494">Gitlab Issue</a></td> |
6a488035 TO |
75 | </tr> |
76 | <tr class="crm-localization-form-block-customTranslateFunction"> | |
c6407d7c CW |
77 | <td class="label">{$form.customTranslateFunction.label} {help id='customTranslateFunction' title=$form.customTranslateFunction.label}</td> |
78 | <td>{$form.customTranslateFunction.html}</td> | |
6a488035 TO |
79 | </tr> |
80 | <tr class="crm-localization-form-block-legacyEncoding"> | |
c6407d7c CW |
81 | <td class="label">{$form.legacyEncoding.label} {help id='legacyEncoding' title=$form.legacyEncoding.label}</td> |
82 | <td>{$form.legacyEncoding.html}</td> | |
6a488035 TO |
83 | </tr> |
84 | <tr class="crm-localization-form-block-fieldSeparator"> | |
c6407d7c CW |
85 | <td class="label">{$form.fieldSeparator.label} {help id='fieldSeparator' title=$form.fieldSeparator.label}</td> |
86 | <td>{$form.fieldSeparator.html}</td> | |
6a488035 TO |
87 | </tr> |
88 | </table> | |
89 | <h3>{ts}Contact Address Fields - Selection Values{/ts}</h3> | |
90 | <table class="form-layout-compressed"> | |
91 | <tr class="crm-localization-form-block-defaultContactCountry"> | |
c6407d7c CW |
92 | <td class="label">{$form.defaultContactCountry.label} {help id='defaultContactCountry' title=$form.defaultContactCountry.label}</td> |
93 | <td>{$form.defaultContactCountry.html}</td> | |
6a488035 | 94 | </tr> |
edc51caa | 95 | <tr class="crm-localization-form-block-defaultContactStateProvince"> |
c6407d7c CW |
96 | <td class="label">{$form.defaultContactStateProvince.label} {help id='defaultContactCountry' title=$form.defaultContactStateProvince.label}</td> |
97 | <td>{$form.defaultContactStateProvince.html}</td> | |
6a488035 TO |
98 | </tr> |
99 | <tr class="crm-localization-form-block-countryLimit"> | |
c6407d7c CW |
100 | <td class="label">{$form.countryLimit.label} {help id='countryLimit' title=$form.countryLimit.label}</td> |
101 | <td>{$form.countryLimit.html}</td> | |
6a488035 TO |
102 | </tr> |
103 | <tr class="crm-localization-form-block-provinceLimit"> | |
c6407d7c CW |
104 | <td class="label">{$form.provinceLimit.label} {help id='provinceLimit' title=$form.provinceLimit.label}</td> |
105 | <td>{$form.provinceLimit.html}</td> | |
6a488035 TO |
106 | </tr> |
107 | </table> | |
edc51caa | 108 | <h3>{ts}Multiple Languages Support{/ts}</h3> |
6a488035 | 109 | <table class="form-layout-compressed"> |
921ed8ae | 110 | {if $form.makeSinglelingual} |
6a488035 TO |
111 | <tr class="crm-localization-form-block-makeSinglelingual_description"> |
112 | <td></td> | |
113 | <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> | |
114 | </tr> | |
115 | <tr class="crm-localization-form-block-makeSinglelingual"> | |
116 | <td class="label">{$form.makeSinglelingual.label}</td> | |
edc51caa | 117 | <td>{$form.makeSinglelingual.html}<br /> |
6a488035 | 118 | <span class="description">{ts}Check this box and click 'Save' to switch this installation from multi- to single-language.{/ts}</span><br /><br /> |
44255b79 | 119 | <span class="description font-red">{$warning}</span></td> |
6a488035 TO |
120 | </tr> |
121 | {elseif $form.makeMultilingual} | |
122 | <tr class="crm-localization-form-block-makeMultilingual"> | |
123 | <td class="label">{$form.makeMultilingual.label}</td> | |
124 | <td>{$form.makeMultilingual.html}<br /> | |
125 | <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 /> | |
44255b79 | 126 | <span class="description font-red">{$warning}</span></td> |
6a488035 TO |
127 | {else} |
128 | <tr class="crm-localization-form-block-description"> | |
129 | <td> | |
c49c7067 | 130 | <span class="description">{ts}In order to use this functionality, the installation's database user must have privileges to create triggers and views (if binary logging is enabled – this means the SUPER privilege). This install does not have the required privilege(s) enabled.{/ts} {ts}(Multilingual support currently cannot be enabled on installations with enabled logging.){/ts}</span><br /><br /> |
44255b79 | 131 | <span class="description font-red">{$warning}</span></td> |
6a488035 TO |
132 | </tr> |
133 | {/if} | |
134 | </table> | |
135 | <div class="crm-submit-buttons"> | |
136 | {include file="CRM/common/formButtons.tpl" location="bottom"} | |
137 | </div> | |
138 | <div class="spacer"></div> | |
139 | </div> |