adding support for private subtags in the language tags, replacement of toString() method with toLanguageTag() method, adding checks for locale.stripExtensions() where it was neccessary, adding information about private tag in the drop down selection of a UI language
This commit is contained in:
parent
62cbcca8dc
commit
6312b966f2
9 changed files with 42 additions and 19 deletions
|
@ -6,7 +6,7 @@
|
|||
<#list selectLocale.locales as locale>
|
||||
|
||||
<li <#if locale.selected>status="selected"</#if>>
|
||||
<a href="${selectLocale.selectLocaleUrl}?selection=${locale.code}" title="${i18n().select_locale} -- ${locale.label}">${locale.label?capitalize}<#if locale.country?has_content> (${locale.country})</#if></a>
|
||||
<a href="${selectLocale.selectLocaleUrl}?selection=${locale.code}" title="${i18n().select_locale} -- ${locale.label}">${locale.label?capitalize}<#if locale.country?has_content> (${locale.country})</#if><#if locale.institution?has_content> - ${locale.institution}</#if></a>
|
||||
</li>
|
||||
</#list>
|
||||
</ul>
|
||||
|
@ -21,6 +21,7 @@
|
|||
* -- code
|
||||
* -- label (tooltip displayed in original locale, not current locale)
|
||||
* -- country (displayed in original locale, not current locale)
|
||||
* -- institution (abbreviation)
|
||||
* -- selected (boolean)
|
||||
-->
|
||||
<script type="text/javascript">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue