ec-jrc / re3gistry

Re3gistry is a reusable open source solution for managing and sharing ‘reference codes’, ensuring semantic interoperability across organisations.
European Union Public License 1.2
29 stars 21 forks source link

Direct uri for language instance #146

Closed arantzaetxebarria closed 8 months ago

arantzaetxebarria commented 2 years ago

From: MartinTuchyna

original issue

Dear Re3Gistry Team, could you please, help us to identify, how shall looks specific direct URI for SK version of this register? https://er.hany.sk/inspire_mappings if we want user to navigate directly to the SK (Slovenčina) instance? image Thanks, Martin

arantzaetxebarria commented 2 years ago

From: emanuelaepure10

Hi Martin,

You should set as master language SK, but you need to be sure that everything in the databse is translated in the Slovakian, otherwise you might have errors in the interface.

To change the master language go directly in the database and change the column masterlanguage in the table reg_languagecode. Please restart tomcat after this change.

You should as well be sure you have here https://github.com/ec-jrc/re3gistry/tree/master/sources/Re3gistry2/src/main/resources/localizations or here https://github.com/ec-jrc/re3gistry/tree/master/dist/app/re3gistry2/WEB-INF/classes/localizations depending on how you run the app the localization file LocalizationBundle_sk.properties

For the webapp the sk.json is already present here https://github.com/ec-jrc/re3gistry/tree/master/dist/webapp/public_html/js-ecl-v2/i18n

Please let us know if you manage to have sk as default

Best regards

arantzaetxebarria commented 8 months ago

This issue is closed due to lack of feedback, if the problem persists, please feel free to open a new issue.

Regards