Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-14642

Fix fallback on default language for select2 l10n

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.8.0-HF15, 5.9.4
    • Fix Version/s: 5.8.0-HF16, 5.9.5
    • Component/s: Layouts & Widgets

      Description

      The locales provided by select2 are inconsistent. Some locales such as:

      • select2_locale_zh-CN.js and select2_locale_zh-TW.js
      • select2_locale_pt-PT.js and select2_locale_pt-BR.js

      can't just be loaded because they have country code while other locales don't.

      A solution is to add:

      • select2_locale_zh.js (copied from select2_locale_zh-CN.js)
      • select2_locale_pt.js (copied from select2_locale_pt-PT.js)

      (we'll loose the support for Brazilian and Taiwanese which will respectively fall back Portuguese and Chinese which is better than nothing)

        Attachments

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                PagerDuty

                Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.