Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-21782

Help for Locale plugin should mention ISO-639 two letter language codes as allowed input

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • locale-plugin
    • None

      1) The help for locale plugin only mentions Locale.setDefault(), but in order to avoid problems like the one reported in Jenkins issue 14703, it should also mention that allowed input can be a ISO-639 two letter language code.

      2) It could be helpful to detect a non-existing Locale inside of the locale plugin and to output an error message to the user, if a locale for the entered language code is unavailable.

      3) Since Windows users are used to IETF BCP 47 language tag as Locale specifiers, it would be helpful, if the locale plugin, in case a locale is not found for the current value of the "Default Language" input field, tries to find a matching locale using Locale.forLanguageTag().

            Unassigned Unassigned
            martin_hohl Martin Hohl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: