I confirm this is handled in LabelManagerFactory.java
Element valueElem = (Element) valueNode;
// Support old way of specifying xml:lang value.
// Old way: en_AU, new way: en-AU
String localeName = valueElem.getAttribute("xml:lang");
if( localeName.contains("_")) {
localeName = localeName.replace('_', '-');
}
I'll replace this snippet by throwing an exception in order to now to automatically detect such issues
Jacques
Le 15/03/2017 à 12:17, Jacques Le Roux a écrit :