Modify ↓

#25151 new enhancement

Support Montenegrin language tags (cnr, cnr-Latn, cnr-Cyrl)

Reported by: Alex T. Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: Cc:

Description

Hello JOSM developers,

I would like to propose improving the recognition and display of Montenegrin language tags.

Background

The language code cnr is officially assigned to Montenegrin.

The Library of Congress published a technical notice on December 21, 2017, confirming the approval of cnr as the language code for Montenegrin.

Reference:
​https://www.loc.gov/marc/tn171221.html

Current behavior

JOSM's I18n.getLocalizedLanguageName() uses Java's Locale.getDisplayLanguage() to obtain language names.

However, Java does not currently return a localized language name for cnr. Instead, it returns the language code itself.

Additionally, the script identifier Cyrl is not currently included in JOSM's recognized script list.

Proposed behavior

OSM key Expected display name
name:cnr Montenegrin
name:cnr-Latn Montenegrin (Latin)
name:cnr-Cyrl Montenegrin (Cyrillic)

Questions

  1. Would JOSM accept an explicit language-name mapping for cnr to Montenegrin?
  2. Would adding Cyrl to the recognized script identifiers be appropriate?
  3. Is there a preferred implementation approach for language codes that Java's locale database does not recognize?

The intention is only to improve the recognition and display of existing OSM language tags, without changing any OSM data or tag semantics.

Thank you.

Attachments (0)

Change History (0)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to Alex T..
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.