[GeoNetwork-devel] Help to start interface in other language that English

Dear all,

I am migrating an old 2.6 Geonetwork version to 2.10.3 version.

I dont find how to start client as spa language interface.
I have changed in config.xml, in apps/ files and folders but client start in english

Other question about locate text.

I don’t find where is defined text in spanish to

Strings that appear botton banner.

Regards,
Miguel A.

Hi Miguel

Check in index.html to change this:

window.location=“srv/eng/home” + search;

to

window.location=“srv/spa/home” + search;

That should solve the issue.

Related to the translations, these strings are not defined in the spanish translation file, so using the english values. The main problem to add them is that the javascript is minified so you need to download the GeoNetwork source code, change in the file

web-client/src/main/resources/apps/js/GeoNetwork/lib/GeoNetwork/lang/es.js

to add these strings

‘Online data’: ‘…’,
‘Data for download’: ‘…’,
‘No direct download’: ‘…’,

and create the new minified version to copy these updated files in your deployed version.

I would recommend you to open a issue in GitHub with all the missing strings in spanish so can be integrated and available in next 2.10.4 version.

Regards,
Jose García

···

On Wed, Jul 9, 2014 at 6:31 PM, Miguel-Angel Manso-Callejo (UPM) <m.manso@anonymised.com> wrote:

Dear all,

I am migrating an old 2.6 Geonetwork version to 2.10.3 version.

I dont find how to start client as spa language interface.
I have changed in config.xml, in apps/ files and folders but client start in english

Other question about locate text.

I don’t find where is defined text in spanish to

Strings that appear botton banner.

Regards,
Miguel A.


Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork


GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on GeoServer and GeoNetwork. Visit http://geocat.net for details.


Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net