VIVO-12 NIHVIVO-4011 Provide config and GUI for selecting Locale
This commit is contained in:
parent
89f759fcbc
commit
a3bd67097b
11 changed files with 230 additions and 7 deletions
|
@ -232,10 +232,16 @@
|
|||
</tbody>
|
||||
</table>
|
||||
<br>
|
||||
<p>
|
||||
If you prefer, you may start with <code>example.build.properties</code>
|
||||
and <code>example.runtime.properties</code>, make copies,
|
||||
and edit them to suit your installation.
|
||||
|
||||
</p>
|
||||
|
||||
<p>
|
||||
The properties below are new to <code>runtime.properties</code>. They are optional,
|
||||
so you need not add them, unless you want a value other than the default.
|
||||
</p>
|
||||
<p>
|
||||
<!-- runtime.properties table from install.html -->
|
||||
</p>
|
||||
|
@ -249,19 +255,83 @@
|
|||
Example Value
|
||||
</th>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
BOGUS: ANY NEW PROPERTIES TO ADD?
|
||||
Force VIVO to use a specific language or Locale instead of those
|
||||
specified by the browser.
|
||||
This affects RDF data retrieved from the model, if RDFService.languageFilter is true.
|
||||
This also affects the text of pages that have been modified to support multiple languages.
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="odd_row blue">
|
||||
<td>
|
||||
BOGUS.PROPERTYNAME
|
||||
languages.forceLocale
|
||||
</td>
|
||||
<td>
|
||||
BOGUS EXAMPLE VALUE
|
||||
en_US
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
A list of supported languages or Locales that the user may choose to
|
||||
use instead of the one specified by the browser. Selection images must
|
||||
be available in the i18n/images directory of the theme.
|
||||
This affects RDF data retrieved from the model, if RDFService.languageFilter is true.
|
||||
This also affects the text of pages that have been modified to support multiple languages.
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="odd_row blue">
|
||||
<td>
|
||||
languages.selectableLocales
|
||||
</td>
|
||||
<td>
|
||||
en, es, fr_FR
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<b>For developers only.</b>
|
||||
Defeat the Freemarker template cache, so each template
|
||||
is read from disk on each request. This permits developers to immediately
|
||||
see the effect of changes to the template. The default is <code>false</code>, which
|
||||
means that a cached copy of each template will be used for 60 seconds
|
||||
before the disk is checked for a new version.
|
||||
<br/><b>Setting this option to "true" slows down VIVO performance.</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="odd_row blue">
|
||||
<td>
|
||||
developer.defeatFreemarkerCache
|
||||
</td>
|
||||
<td>
|
||||
false
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<b>For developers only.</b>
|
||||
Defeat the cache of language-specific text strings,
|
||||
so the language file is read from disk on each request.
|
||||
This permits developers to immediately
|
||||
see the effect of changes to the text strings.
|
||||
The default is <code>false</code>, which means that the language file is
|
||||
read when VIVO starts up, or when a new theme is selected.
|
||||
<br/><b>Setting this option to "true" slows down VIVO performance.</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="odd_row blue">
|
||||
<td>
|
||||
developer.defeatI18nCache = true
|
||||
</td>
|
||||
<td>
|
||||
false
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue