GIM-be / core-geonetwork

GeoNetwork repository
http://geonetwork-opensource.org/
GNU General Public License v2.0
1 stars 0 forks source link

There is no entry in the isolanguages table for FRA, DEU and NLD, but for FRA and DEU a translation is hardcode in the twoCharLangCode static method of the XslUtil class. #8

Open gvandeboel opened 6 years ago

gvandeboel commented 6 years ago

Here we have two possible solutions. We can add the missing entries in the database tabel isolanguages like fra, deu and nld by removing the hard coded mapping or we can extend the hard coded mapping with a mapping from NLD to NL like this:

if (iso3LangCode.equalsIgnoreCase("NLD")) { return "NL"; }

For now we will choose the hard coded one, till a new database schema update.