Translating an iso19139 standard in GN

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Translating an iso19139 standard in GN

Age Sild
Hello!

I am trying to translate GeoNetwork (ver 3.10.2.0) client interface into Estonian language according to the guidance https://geonetwork-opensource.org/manuals/trunk/en/contributing/translating.html

1. Translating the application has gone normally - adding Angular UI files and new language registration in CatController.js was successful (application is in Estonian, when Estonian language is set).

2. But iso19139 translations in the metadata editor are not activating, they remain in English when language is set as Estonian.

- I have added translated schema xml files to the schema folder:
/opt/app/geonetwork/data/config/schema_plugins/iso19139/loc/est
(https://github.com/geonetwork/core-geonetwork/tree/master/schemas/iso19139/src/main/plugin/iso19139/loc)

- Other schema folders are prepared also:
/opt/app/geonetwork/data/config/schema_plugins/iso19110/loc/est
/opt/app/geonetwork/data/config/schema_plugins/dublin-core/loc/est
/opt/app/geonetwork/data/config/schema_plugins/csw-record/loc/est

- And this folder is prepared also: /opt/app/apache-tomcat-8.5.51/webapps/geonetwork/loc/est/

Does schema translations have to be in tomcat branch to?
/opt/app/apache-tomcat-8.5.51/webapps/geonetwork/WEB-INF/data/config/schema_plugins/iso19139/loc/est

Is there anything else, that must be prepared?
Any advice?

With regards,
Age Sild

Estonian Land Board
Mustamäe tee 51 | 10621 Tallinn, Estonia | +372 665 0600
www.maaamet.ee/en<http://www.maaamet.ee/en>
geoportaal.maaamet.ee/eng<https://geoportaal.maaamet.ee/>
inspire.maaamet.ee

_______________________________________________
GeoNetwork-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
Reply | Threaded
Open this post in threaded view
|

Re: Translating an iso19139 standard in GN

Age Sild
Hi!

The probleem is solved!

Language description had to be added also into the file:
/opt/app/apache-tomcat-8.5.51/webapps/geonetwork/WEB-INF/config-spring-geonetwork.xml

Hint game from:
https://github.com/geonetwork/core-geonetwork/pull/4024/commits/e757feff7c2e8d4a1b077fd45bf2b02213eedfaa

Happy regards!
Age

-----Original Message-----
From: Age Sild [mailto:[hidden email]]
Sent: Thursday, June 4, 2020 5:07 PM
To: [hidden email]
Subject: [GeoNetwork-users] Translating an iso19139 standard in GN

Hello!

I am trying to translate GeoNetwork (ver 3.10.2.0) client interface into Estonian language according to the guidance https://geonetwork-opensource.org/manuals/trunk/en/contributing/translating.html

1. Translating the application has gone normally - adding Angular UI files and new language registration in CatController.js was successful (application is in Estonian, when Estonian language is set).

2. But iso19139 translations in the metadata editor are not activating, they remain in English when language is set as Estonian.

- I have added translated schema xml files to the schema folder:
/opt/app/geonetwork/data/config/schema_plugins/iso19139/loc/est
(https://github.com/geonetwork/core-geonetwork/tree/master/schemas/iso19139/src/main/plugin/iso19139/loc)

- Other schema folders are prepared also:
/opt/app/geonetwork/data/config/schema_plugins/iso19110/loc/est
/opt/app/geonetwork/data/config/schema_plugins/dublin-core/loc/est
/opt/app/geonetwork/data/config/schema_plugins/csw-record/loc/est

- And this folder is prepared also: /opt/app/apache-tomcat-8.5.51/webapps/geonetwork/loc/est/

Does schema translations have to be in tomcat branch to?
/opt/app/apache-tomcat-8.5.51/webapps/geonetwork/WEB-INF/data/config/schema_plugins/iso19139/loc/est

Is there anything else, that must be prepared?
Any advice?

With regards,
Age Sild

Estonian Land Board
Mustamäe tee 51 | 10621 Tallinn, Estonia | +372 665 0600 www.maaamet.ee/en<http://www.maaamet.ee/en>
geoportaal.maaamet.ee/eng<https://geoportaal.maaamet.ee/>
inspire.maaamet.ee

_______________________________________________
GeoNetwork-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork


_______________________________________________
GeoNetwork-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork