﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
25151	Support Montenegrin language tags (cnr, cnr-Latn, cnr-Cyrl)	Alex T.	team	"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."	enhancement	new	normal		Core				
