Opened 12 years ago
Closed 12 years ago
#1087 closed defect (fixed)
Updates to catalan translation for version 2.8.0 RC1
Reported by: | mmarco | Owned by: | ianwallen |
---|---|---|---|
Priority: | major | Milestone: | v2.8.0 RC2 |
Component: | General | Version: | v2.8.0RC1 |
Keywords: | Cc: | mmarco |
Description
I installed GN 2.8.0 RC1 in order to review the catalan translation. I send attached (zip file) several catalan files to be included/replaced. An explanation of the files I sent:
1.- The widget interface does not show in catalan. I suppose this is because apps\js\Geonetwork\lib\Geonetwork\lang\ca.js does not exist. I created it using the en.js found in this directory.
2.- Strings and tooltips in the 'small map' and the 'map viewer' show in english instead of catalan. I suppose there is a mistake in the scripts\map\lang\ca.js. I send the file to be replaced.
3.- New tags are missing in config.xml, harvesting.xml, metadata-validate.xml and strings.xml located loc\cat directory. I send the files to be replaced.
4.- A correction made in file WEB-INF\data\config\schema_plugins\iso19139\loc\cat\codelists.xml. I send the file to be replaced.
Once changes incorporated, I'll download a nigthy build to test if catalan displays properly.
Thanks a lot,
Best regards Montse
Attachments (1)
Change History (7)
by , 12 years ago
Attachment: | catalan.zip added |
---|
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Cc: | added |
---|
I tested geonetwork-install-branch28-2012-10-07.jar and the files I sent are updated, but there are still two issues:
- When accessing GN via the widget interface (for instance: http://localhost:8080/geonetwork/apps/tabsearch/?hl=ca) the interface shows in english instead of catalan.
- When accessing GN via the classical interface (http://localhost:8080/geonetwork/srv/eng/main.home) and selecting 'Catalan', the strings and tooltips of the 'small map' and of the 'map viewer' shows in english instead of catalan.
I thought the files involved where apps\js\Geonetwork\lib\Geonetwork\lang\ca.js and geonetwork\scripts\map\lang\ca.js, but there is something more to be translated that I'm missing. Please, can you tell me what files should I translate?
Thanks for your help and best regards, Montse
comment:3 by , 12 years ago
hello,
you need to use ISO 639-2 (the three letter codes) to specify the language in the URL for the Ext GUIs. In this case, http://localhost:8080/geonetwork/apps/tabsearch/?hl=cat.
Does it work if you do that ?
comment:4 by , 12 years ago
Hello,
It doesn't. I have done this test:
- I went to http://localhost:8080/geonetwork/apps/search/ and I selected all the languages from the dropdown list in the right corner of the page. All the languages show the page in english except for french (?hl=fre).
- I went to http://localhost:8080/geonetwork/apps/tabsearch/ and I selected all the languages from the dropdown list in the right corner of the page. All the languages show the page in english except for deutch, french, spanish, french and nederland.
Thanks for your help, Montse
comment:5 by , 12 years ago
Owner: | changed from | to
---|
Montse,
I think I found the issue I will prepare a fix and send it shortly.
comment:6 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in commit 44bfe006891814ca1ac7a96821adfb9964208581
Changes were added in commit ec85ee3a418f25234d4fb650aff6f68fed8fae6f
Test tomorrows nightly build to see if everything is OK then you can close the ticket.