Description
I explained that in the second message in this dev ML thread https://s.apache.org/S3Ao
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 issues