Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6998391

Serbian (Latin) locale support

XMLWordPrintable

    • b135
    • generic
    • linux
    • Verified

        Please enable support for Latin Serbian locales internally. Serbian locales in Cyrillic script are supported today. This is a request to support both Serbian locales by enabling support for the Serbian locales in Latin Serbian script.

        Serbian locales currently supported by JDK 6
        --------------------------------------------
        sr_BA for Bosnia and Herzegovina, in Serbian (Cyrillic) language
        sr_CS for Serbia and Montenegro, in Serbian (Cyrillic) language

        The Serbian locales requested by this request for JDK 6
        -------------------------------------------------------
        sh for the Serbian (Latin) language
        sh_BA for Bosnia and Herzegovina, in Serbian (Latin) language
        sh_CS for Serbia and Montenegro, in Serbian (Latin) language
        sh_RS for Serbia, in Serbian (Latin) language
        sh_ME for Montenegro, in Serbian (Latin) language

        The Serbian locales requested by this request for JDK 7
        -------------------------------------------------------
        sr-Latn for the Serbian (Latin) language
        sr-Latn_BA for Bosnia and Herzegovina, in Serbian (Latin) language
        sr-Latn_CS for Serbia and Montenegro, in Serbian (Latin) language
        sr-Latn_RS for Serbia, in Serbian (Latin) language
        sr-Latn_ME for Montenegro, in Serbian (Latin) language

        Cyrillic Serbian locales are supported using the locale data from CLDR.
        Latin Serbian locales should use CLDR as well.

        Scope of support
        ----------------
        *Included
        -The i18n support provided by any locale sensitive class in JRE
        -locale data in sun.text.resources.*
        -locale data in sun.util.resources.*
        *Excluded
        -Any translation, including messages, UI, installer and documentation

        Note: Managing Language Tag Compatibility Issues
        ------------------------------------------------
        There is a known concern in the use of the language code "sh". Although it allows us to distinguish Cyrillic and Latin Serbian, there are chances of facing compatibility problems. According to the standard IANA language tag registry, the tag "sh" is taken for something other than Latin Serbian. The correct tag for Latin Serbian is "sr-Latn". JDK 6 cannot support "sr-Latn" because JDK 6 does not support the current standard language tagging scheme. Support for the new scheme will be enabled in JDK 7. JDK 7 will be able to identify the correct code "sr-Latn".

        To manage this point, this request proposes to not document this support externally for JDK 6. The intent is to keep the support internal to EBS's consumption on JDK 6, while JDK 7 makes the formal standard conforming support available for everyone. As EBS switches to JDK 7, it is to migrate from "sh" to "sr-Latin".
        Proposed new entries for the supported locale listing:
        http://download.oracle.com/javase/7/docs/technotes/guides/intl/locale.doc.html

        Language/Country/Locale ID
        Serbian (Latin)/Bosnia and Herzegovina/sr-Latn_BA
        Serbian (Latin)/Serbia/sr-Latn_RS
        Serbian (Latin)/Montenegro/sr-Latn_ME

        * We need to confirm what to do for hyphen vs. underscore.

              yhuang Yong Huang (Inactive)
              dchiba Dan Chiba
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: