-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I ran a couple of test to see whether OmegaT could be used to translate the OLH for OOo 2.3 and I forgot to post the results here as a follow-up to this discussion (I've sent them to Sun and to the Italian community only). I'm doing in it now just in case someone is interested in all this.
Apart from the test with OmegaT, I ran the same test with poEdit using the same files and procedures. At the end of this e-mail you'll find a report of what I've done, from converting the original SDF file to PO, translating PO files with OmegaT and poEdit and then back-converting the files to SDF. I'm not attaching all the files and directories used since it would be too heavy - you can download them from the following address: http://tinyurl.com/2s4zwu Ale. #################### ## ## ## OmegaT ## ## ## #################### - - ---------------------------- ## Converting SDF into PO ## - - ---------------------------- [EMAIL PROTECTED]:~/Desktop/Test-L10N-OOo2.3/OmT$ ls HC2_93824_89_2007-06-05_39.sdf [EMAIL PROTECTED]:~/Desktop/Test-L10N-OOo2.3/OmT$ oo2po - - --source-language=en-US --language=it - - --input=HC2_93824_89_2007-06-05_39.sdf --output=po /usr/lib/python2.5/site-packages/translate/storage/po.py:31: DeprecationWarning: The sre module is deprecated, please import re. import sre oo2po: warning: Output directory does not exist. Attempting to create processing 35 files... /usr/lib/python2.5/site-packages/translate/storage/po.py:230: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal if target == self.target: [###########################################] 100% - - ----------------------------- ## Creating OmegaT Project ## - - ----------------------------- I've created a standard OmegaT project using the TMX you provided and a glossary converted from a SunGloss exported glossary. I set en_US as the source language and it as the target. I translated the following files: - - - po/helpcontent2/source/text/scalc.po - - - po/helpcontent2/source/text/scalc/guide.po - - - po/helpcontent2/source/text/shared/04.po - - ---------------------------- ## Converting PO into SDF ## - - ---------------------------- [EMAIL PROTECTED]:~/Desktop/Test-L10N-OOo2.3/OmT$ ls backconversion HC2_93824_89_2007-06-05_39.sdf OLH-OmT-Project [EMAIL PROTECTED]:~/Desktop/Test-L10N-OOo2.3/OmT$ ls backconversion/ HC2_93824_89_2007-06-05_39.sdf po [EMAIL PROTECTED]:~/Desktop/Test-L10N-OOo2.3/OmT$ cd backconversion/ [EMAIL PROTECTED]:~/Desktop/Test-L10N-OOo2.3/OmT/backconversion$ ls HC2_93824_89_2007-06-05_39.sdf po [EMAIL PROTECTED]:~/Desktop/Test-L10N-OOo2.3/OmT/backconversion$ po2oo -t HC2_93824_89_2007-06-05_39.sdf -l it po it_IT.sdf /usr/lib/python2.5/site-packages/translate/storage/po.py:31: DeprecationWarning: The sre module is deprecated, please import re. import sre processing 35 files... Error at po/helpcontent2/source/text/shared/01.po::02100001.xhp#par_id2366100.help.text: escapes in original ('\n', '\<emph\>Replace', 'with\</emph\>') don't match escapes in translation ('\<emph\>Replace', 'with\</emph\>') Error at po/helpcontent2/source/text/shared/01.po::02100001.xhp#par_id9262672.help.text: escapes in original ('\n', '\<emph\>Search', 'for\</emph\>') don't match escapes in translation ('\<emph\>Search', 'for\</emph\>') [###########################################] 100% [EMAIL PROTECTED]:~/Desktop/Test-L10N-OOo2.3/OmT/backconversion$ /opt/gsicheck_1.8.2/gsicheck it_IT.sdf NO OUTPUT #################### ## ## ## poEdit ## ## ## #################### - - -------------------------- ## Converting SDF to PO ## - - -------------------------- [EMAIL PROTECTED]:~/Desktop/Test-L10N-OOo2.3/poEdit$ ls HC2_93824_89_2007-06-05_39.sdf [EMAIL PROTECTED]:~/Desktop/Test-L10N-OOo2.3/poEdit$ oo2po - - --source-language=en-US --language=it - - --input=HC2_93824_89_2007-06-05_39.sdf - - --output=po/usr/lib/python2.5/site-packages/translate/storage/po.py:31: DeprecationWarning: The sre module is deprecated, please import re. import sre oo2po: warning: Output directory does not exist. Attempting to create processing 35 files... /usr/lib/python2.5/site-packages/translate/storage/po.py:230: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal if target == self.target: [###########################################] 100% - - ----------------------------- ## Translating with poEdit ## - - ----------------------------- With Catalogs Manager I created a project with all the OLH files. I translated the following files (same as with OmegaT): - - - po/helpcontent2/source/text/scalc.po - - - po/helpcontent2/source/text/scalc/guide.po - - - po/helpcontent2/source/text/shared/04.po - - ---------------------------- ## Converting PO into SDF ## - - ---------------------------- Back-converting to SDF file, following the same steps as above with OmegaT, I got hundreds of lines with these errors: [EMAIL PROTECTED]:~/Desktop/Test-L10N-OOo2.3/poEdit/backconversion$ ls HC2_93824_89_2007-06-05_39.sdf po [EMAIL PROTECTED]:~/Desktop/Test-L10N-OOo2.3/poEdit/backconversion$ po2oo -t HC2_93824_89_2007-06-05_39.sdf -l it po it_IT.sdf [...] Error at po/helpcontent2/source/text/schart/01.po::04050000.xhp#par_id3157907.22.help.text: checks that XML/HTML tags have not been translated Error at po/helpcontent2/source/text/schart/01.po::04060000.xhp#par_id3147005.15.help.text: checks that XML/HTML tags have not been translated Error at po/helpcontent2/source/text/schart/01.po::04060000.xhp#par_id3148868.17.help.text: checks that XML/HTML tags have not been translated Error at po/helpcontent2/source/text/schart/01.po::04060000.xhp#par_id3154656.11.help.text: checks that XML/HTML tags have not been translated Error at po/helpcontent2/source/text/schart/01.po::04060000.xhp#par_id3155376.13.help.text: checks that XML/HTML tags have not been translated Error at po/helpcontent2/source/text/schart/01.po::04060000.xhp#par_id3156447.14.help.text: translation contains variables not in original: %, % Error at po/helpcontent2/source/text/schart/01.po::05020200.xhp#par_id3145173.2.help.text: checks that XML/HTML tags have not been translated Error at po/helpcontent2/source/text/schart/01.po::05110000.xhp#par_id3146121.2.help.text: checks that XML/HTML tags have not been translated Error at po/helpcontent2/source/text/schart/01.po::05110000.xhp#par_id3155337.8.help.text: checks that XML/HTML tags have not been translated Error at po/helpcontent2/source/text/schart/01.po::05110000.xhp#par_id3159266.6.help.text: checks that XML/HTML tags have not been translated Error at po/helpcontent2/source/text/schart/01.po::05110000.xhp#par_id3166423.10.help.text: checks that XML/HTML tags have not been translated Error at po/helpcontent2/source/text/schart/02.po::01210000.xhp#bm_id3152996.help.text: checks that XML/HTML tags have not been translated Error at po/helpcontent2/source/text/schart/02.po::01210000.xhp#par_id3150441.help.text: checks that XML/HTML tags have not been translated Error at po/helpcontent2/source/text/schart/02.po::01220000.xhp#par_id3150010.help.text: checks that XML/HTML tags have not been translated Error at po/helpcontent2/source/text/schart/00.po::00000004.xhp#par_id3146883.32.help.text: checks that XML/HTML tags have not been translated Error at po/helpcontent2/source/text/schart/00.po::00000004.xhp#par_id3147341.68.help.text: checks that XML/HTML tags have not been translated Error at po/helpcontent2/source/text/schart/00.po::00000004.xhp#par_id3153009.66.help.text: checks that XML/HTML tags have not been translated Error at po/helpcontent2/source/text/schart/00.po::00000004.xhp#par_id3154765.24.help.text: checks that XML/HTML tags have not been translated Error at po/helpcontent2/source/text/schart/00.po::00000004.xhp#par_id3157876.31.help.text: checks that XML/HTML tags have not been translated [###########################################] 100% [EMAIL PROTECTED]:~/Desktop/Test-L10N-OOo2.3/poEdit/backconversion$ /opt/gsicheck_1.8.2/gsicheck it_IT.sdf Error: Translation Tag Missmatch, Line 2, UniqueID helpcontent2/source\text\simpress\main0104.xhp/help/hd_id3143232/7//: Property 'href': value different in Translation : \<link href=\"text/schart/01/wiz_chart_type.xhp\" name=\"Chart\"\> at Position 0 Error: Translation Tag Missmatch, Line 4, UniqueID helpcontent2/source\text\sdraw\main0104.xhp/help/hd_id3147003/8//: Property 'href': value different in Translation : \<link href=\"text/schart/01/wiz_chart_type.xhp\" name=\"Chart\"\> at Position 0 Error: Translation Tag Missmatch, Line 10, UniqueID helpcontent2/source\text\shared\main0108.xhp/help/hd_id2926419///: Missing Tag in Translation: \<link href=\"text/shared/01/online_update.xhp\"\> at Position 0 Error: Translation Tag Missmatch, Line 10, UniqueID helpcontent2/source\text\shared\main0108.xhp/help/hd_id2926419///: Missing Tag in Translation: \</link\> at Position 67 Error: Translation Tag Missmatch, Line 14, UniqueID helpcontent2/source\text\shared\main0201.xhp/help/par_idN1086E///: Property 'href': value different in Translation : \<link href=\"text/schart/01/wiz_chart_type.xhp\"\> at Position 0 Error: Translation Tag Missmatch, Line 16, UniqueID helpcontent2/source\text\shared\main0201.xhp/help/par_idN108BE///: Property 'href': value different in Translation : \<link href=\"text/schart/01/wiz_chart_type.xhp\"\> at Position 0 Error: Translation Tag Missmatch, Line 18, UniqueID helpcontent2/source\text\shared\main0201.xhp/help/par_idN108D7///: Property 'href': value different in Translation : \<link href=\"text/schart/01/wiz_chart_type.xhp\"\> at Position 0 Error: Translation Tag Missmatch, Line 324, UniqueID helpcontent2/source\text\scalc\01\04060106.xhp/help/par_id3152688/643//: Property 'hid': value different in Translation : \<ahelp hid=\".\"\> at Position 0 Error: Translation Tag Missmatch, Line 722, UniqueID helpcontent2/source\text\sbasic\shared\02\11140000.xhp/help/par_id3145136///: Property 'src': value different in Translation : \<image id=\"img_id3147571\" src=\"res/commandimagelist/sc_loadbasic.png\" width=\"0.1665inch\" height=\"0.1665inch\"\> at Position 0 Error: Translation Tag Missmatch, Line 726, UniqueID helpcontent2/source\text\sbasic\shared\02\11150000.xhp/help/par_id3145071///: Property 'src': value different in Translation : \<image id=\"img_id3149182\" src=\"res/commandimagelist/sc_savebasicas.png\" width=\"0.222inch\" height=\"0.222inch\"\> at Position 0 Error: Translation Tag Missmatch, Line 744, UniqueID helpcontent2/source\text\shared\guide\chart_insert.xhp/help/par_id3145419/7//: Missing Tag in Translation: \<link href=\"text/schart/01/wiz_chart_type.xhp\"\> at Position 31 Error: Translation Tag Missmatch, Line 744, UniqueID helpcontent2/source\text\shared\guide\chart_insert.xhp/help/par_id3145419/7//: Missing Tag in Translation: \</link\> at Position 94 [...] Gsicheck reports dozens of these errors. I have the feeling that all the errors on the poEdit files may depend on a wrong configuration of poEdit. However, I don't understand where the mistake may be. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGcuzwdpk3ZlYYJ+gRAnE4AKDeLm/B6HZkbUPXbR3yUN6ojY2abACeJKiA 9bYyvuWoPrwXYmnHhHaf82k= =Guf/ -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]