Opened 13 years ago

Closed 12 years ago

Last modified 12 years ago

#525 closed enhancement (fixed)

Polish translation

Reported by: heikki Owned by: ianwallen
Priority: minor Milestone: v2.8.0 RC2
Component: General Version: v2.6.4
Keywords: Cc:

Description

Integrate Polish localization of GN into 2.6.x and trunk.

Thanks to Piotr Pachół.

Attachments (1)

geonetwork-pol.zip (189.8 KB ) - added by ianwallen 12 years ago.
Polish Translation

Download all attachments as: .zip

Change History (11)

comment:1 by heikki, 13 years ago

Status: newassigned

I've asked Piotr Pachół to provide the translated DB contents using SQL files (not DDF).

by ianwallen, 12 years ago

Attachment: geonetwork-pol.zip added

Polish Translation

comment:2 by ianwallen, 12 years ago

Milestone: v2.6.5v2.8.0 RC2

Uploaded Polish translation supplied by Bogusław Kaczałek

http://osgeo-org.1560.n6.nabble.com/GeoNetwork-Polish-translation-td5005814.html

This is Polish translation for GeeoNetwork 2.8-SNAPSHOT.

Translation includes:

  • translated user interface (old, html, based on files in "loc" directory)
  • translated user interface for new, JavaScript interface (search and tabsearch) - the file pl.js for GeoNetwork.js class
  • translated database content - the sql file (missing translations for countries names and for languages)
  • translated schematron rules and metadata profiles files

comment:3 by ianwallen, 12 years ago

Owner: changed from heikki to ianwallen
Status: assignednew

comment:4 by ianwallen, 12 years ago

Status: newassigned

comment:5 by ianwallen, 12 years ago

Resolution: fixed
Status: assignedclosed

Applied in commit 32898e2aa578c74c9a871d652452e3e0ad329524

comment:6 by ianwallen, 12 years ago

Applied a related fix in commit 04b286bd3978e2f692108af4c051cc0b9bed7552

comment:7 by landry, 12 years ago

I dont know where this should be fixed, but atm when you build from 2.8.x branch some polish files are removed from the source tree and appear as this in git status :

# deleted: web/src/main/webapp/WEB-INF/data/config/schema_plugins/iso19139/loc/pol/schematron-rules-geonetwork.xml # deleted: web/src/main/webapp/WEB-INF/data/config/schema_plugins/iso19139/loc/pol/schematron-rules-inspire.xml # deleted: web/src/main/webapp/WEB-INF/data/config/schema_plugins/iso19139/loc/pol/schematron-rules-iso.xml

Can anyone reproduce this ?

The only specific part i could find was that those schematron-rules-*.xml files were not listed for polish in web/target/war/work/webapp-cache.xml, but i dont know where this file is generated from.

comment:8 by landry, 12 years ago

At first i thought it was because 'loc-pol-' wasnt added to my config-overrides-geosource.xml file, and i'm building with -Penv-geosource,widgets. But that also happens with default profile..

Looking at the build log, it looks like the publish-loc-file step is not done for 'pol' language, and the files are deleted by the clean-schema-dir step. Digging more...

comment:9 by landry, 12 years ago

The following git diff fixes the issue for me.

diff --git a/schematrons/build.xml b/schematrons/build.xml
index 65c35e3..0a63ecd 100755
--- a/schematrons/build.xml
+++ b/schematrons/build.xml
@@ -196,6 +196,11 @@
                        <property name="schema" value="${schema}" />
                </ant>
                <ant target="publish-loc-file">
+                       <property name="lang" value="pol" />
+                       <property name="rules" value="${rules}" />
+                       <property name="schema" value="${schema}" />
+               </ant>
+               <ant target="publish-loc-file">
                        <property name="lang" value="fin" />
                        <property name="rules" value="${rules}" />
                        <property name="schema" value="${schema}" />

comment:10 by ianwallen, 12 years ago

Applied changed in commit 73f69719c0df0aa48a8f8444c7e6bd1c224887cb

Note: See TracTickets for help on using tickets.