Changes between Version 1 and Version 2 of synch_lang


Ignore:
Timestamp:
Apr 3, 2009, 2:43:39 AM (15 years ago)
Author:
ticheler
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • synch_lang

    v1 v2  
    22== Synchronize language files ==
    33
    4 Roberto Giaccio wrote this small application for GN version 2.0 that compares all localized files and checks for;
     4Roberto Giaccio wrote this small application for GeoNetwork that compares all localized files and checks for;
    55
    66- files available in main language but missing in localized directory
     
    1313The program is executed with the following commands:
    1414
    15         cd GEONETWORK_WEBAPP_DIR (usually .../geonetwork/web)
    16         java -cp WEB-INF/lib/geonetwork.jar:WEB-INF/lib/jeeves.jar:WEB-INF/lib/jdom.jar org.fao.geonet.apps.!CheckLocalizedFiles loc/ en
     15{{{cd GEONETWORK_WEBAPP_DIR (usually ./web/geonetwork)}}}
     16{{{java -cp WEB-INF/lib/geonetwork.jar:WEB-INF/lib/jeeves.jar:WEB-INF/lib/jdom.jar org.fao.geonet.apps.!CheckLocalizedFiles loc/ en > output_file.txt}}}
    1717
    18 You can find below the output for the current french and spanish files; the french translation is almost ok, but the spanish one needs some revision; who is going to revise the two translations?
     18You can also run the application for other folders containing localized files. For instance part of InterMap or those that come with a metadata schema. Just change the {{{loc/}}} part with a reference to the folder you want to compare. So for instance:
    1919
    20 Finally, note that the following files in the french and spanish translations are actually in english:
    21 
    22         metadata-validate.xml
    23 
    24         validation-error.xml
     20{{{java -cp WEB-INF/lib/geonetwork.jar:WEB-INF/lib/jeeves.jar:WEB-INF/lib/jdom.jar org.fao.geonet.apps.CheckLocalizedFiles xml/schemas/iso19139/loc/ en > ~/localization_errors_19139.txt}}}
    2521
    2622
     23
     24
     25