Customized English Narrative Report into finnish
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 
GenoPro Support Forum
Home        Members    Who's On
Welcome Guest ( Login | Register )
        


«««123456»»»

Customized English Narrative Report into finnish Expand / Collapse
Author
Message
Post #23626 Posted 2/17/2009 5:32:34 AM
Forum Writer

Forum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum Writer

Group: Customers
Last Login: 11/6/2009 7:48:30 AM
GenoPro Version: 2.0.1.6
Posts: 51, Visits: 174
Tried to generate "Customized Narrative" -report with latest Dictionary.xml version I've got and the system gives me error msg:

Generating report to 'C:\temp\'

Cloning document saksi...

Opening configuration file Config.xml for skin '\Customized Finnish Narrative Report\* (Sukututkimusraportti)'...

Loading Dictionary.xml...

[0.00] Processing template 'init.htm'...

[0.42] LanguageDictionary.Lookup('ErrorXMLLoadDic') failed!

Error at line 181, position 3 (init.htm): Object required

Microsoft VBScript runtime error 800A01A8

What have I done wrong this time?  BR, Jarmo



  Post Attachments 
Dictionary.xml (10 views, 125.88 KB)
Post #23628 Posted 2/17/2009 6:50:13 AM


Grand Master

Grand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand Master This user is a contributor to FamilyTrees.GenoPro.com This user is an important contributor to the GenoPro community 

Group: Customers
Last Login: Today @ 8:46:16 AM
GenoPro Version: 2.0.1.6
Posts: 1,347, Visits: 6,680
Opening your file with Internet Explorer is a quick way to check the syntax of your XML. If you do this you will see an error on line 787. There is a similar error on line 788
  <ChildBiological_F T="biologinen tytär" P="biologinen tyttäret "C1="biologinen tytär"/>
  <ChildBiological_P T="kotieläin" P="kotieläimet "C1="kotieläin"/>

This should be
  <ChildBiological_F T="biologinen tytär" P="biologinen tyttäret" C1="biologinen tytär"/>
  <ChildBiological_P T="kotieläin" P="kotieläimet" C1="kotieläin"/>

Also your Config.xml file seems to be out of date hence the missing ErrorXMLLoadDic message. I corrected your dictionary and ran it with an English Config.xml and all worked fine. Please ensure you use or translate the latest Config.xml as welll as the Dictionary. You can of course use the English Config.xml to generate a report in another language. It is just that any messages during the generation process will be in English instead of Finnish.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Post #23630 Posted 2/17/2009 8:11:51 AM
Forum Writer

Forum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum Writer

Group: Customers
Last Login: 11/6/2009 7:48:30 AM
GenoPro Version: 2.0.1.6
Posts: 51, Visits: 174
Thanks for helping with my errors.  Regarding Config.xml you said that mine is outdated.  Does this mean that I should load a new version of this file somewhere, where?  Or do you just mean that it need to be translated?  BR, Jarmo
Post #23636 Posted 2/18/2009 2:20:50 AM
Forum Writer

Forum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum Writer

Group: Customers
Last Login: 11/6/2009 7:48:30 AM
GenoPro Version: 2.0.1.6
Posts: 51, Visits: 174
Hello

After a) corrections to Dictionary.xml b) translation of Config.xml c) check both files in IE and saw both files "fine" but Running Narrative report again got following error:

Generating report to 'C:\temp\'

Cloning document saksi...

Opening configuration file Config.xml for skin '\Customized Finnish Narrative Report\* (Sukututkimusraportti)'...

Loading Dictionary.xml...

[0.00] Processing template 'init.htm'...

[0.32] LanguageDictionary.Lookup('ErrorXMLLoadDic') failed!

Error at line 181, position 3 (init.htm): Object required

Microsoft VBScript runtime error 800A01A8

What might be wrong?  BR, Jarmo



  Post Attachments 
Config.xml (2 views, 14.83 KB)
Post #23637 Posted 2/18/2009 4:09:40 AM


Grand Master

Grand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand Master This user is a contributor to FamilyTrees.GenoPro.com This user is an important contributor to the GenoPro community 

Group: Customers
Last Login: Today @ 8:46:16 AM
GenoPro Version: 2.0.1.6
Posts: 1,347, Visits: 6,680
Your Config.xml file appears to be based on a pre 2.0.1.6 version of the Narrative skin. Perhaps other files in your skin are also from an earlier version. The Report can only work with a consistent set of files and generally you cannot 'mix & match' files between versions. Once a working translated Dictionary.xml (and optionally Config.xml) is achieved then is should be maintained for each new release of the English skin. You cannot use an old Dictionary.xml with a newer version of the skin and vice versa you cannot use a newer version of the Dictionary with an earlier release of the other skin files which appears to be the case here.

I suggest you proceed as follows:

  1. Download the latest English Narrative Report skin and unzip into a new folder below your nominated GenoPro skins folder.
  2. Update the Config.xml file in this new folder with the translations from your own Finnish Config.xml file by copying over each matching tag value. Optionally make further translations of any new text if required.
  3. Compare the ENGLISH Dictionary.xml from the skin version on which you based your translation with the latest English Dictionary.xml in this new folder (use Kdiff3 or Winmerge). Check that any differences have been applied to you Finnsh Dictionary.xml and amend/translate as required.  (This step may not be required if your Finnish Dictionary is already derived from the latest version)
  4. Replace the English Dictionary.xml in the latest skin with your now up-to-date version.
  5. Test run the Narrative Report.

I have no direct experience of translating a report so perhaps others have a better method. In the past someone on this forum stated they were writing a comparison tool but AFAIK it was never published for others to use. I have experimented with reformatted Dictionary.xml files to make semi automatic comparison possible with the KDiff3 utlity. Once I have tested this further I will release details.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Post #23643 Posted 2/19/2009 2:09:53 AM
Forum Writer

Forum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum Writer

Group: Customers
Last Login: 11/6/2009 7:48:30 AM
GenoPro Version: 2.0.1.6
Posts: 51, Visits: 174
Hello! 

1. I downloaded as you instructed the latest "English Narrative Report" and copied it also into corresponding Finnish folder. 

2. Then I compared (with PSPad), that finnish Dictionary.xml is structurally equal to english version and the only exception is that mine is translated into finnish and two comment lines. 

3. I did not translate Config.xml at all nor Namedictionary.xml so they are according to 2.0.1.7RC7 (directly from zip -file)

4. I tried to run Narrative report into finnish but got following:

Generating report to 'C:\temp\SaksitKertomus\'

Cloning document saksi...

Opening configuration file Config.xml for skin '\Finnish Narrative Report ver 2.0.1.7RC7\* (Kertomus suvusta suomeksi)'...

Loading Dictionary.xml...

[0.00] Processing template 'init.htm'...

[0.34] Error attempting to parse Dictionary XML data: A name was started with an invalid character.

on line 787:

<ChildBiological_F T="biologinen tytär" P="biologiset tyttäret" "C1="biologinen tytär"/>

Custom Tag data including Config Parameters in Document Tags will not be processed

Error at line 219, position 3 (init.htm): Object required: 'oNode'

Microsoft VBScript runtime error 800A01A8

Is it necessary to translate the Config & Namedictionary as well?  Any way they should be "at same level" ie. 2.0.1.7RC7. 

I checked Dictionary.xml file in IE but the line the error is referring seems to me like other lines ie. I see no difference or find any Invalid characters?  BR, Jarmo

Post #23644 Posted 2/19/2009 3:52:48 AM


Grand Master

Grand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand Master This user is a contributor to FamilyTrees.GenoPro.com This user is an important contributor to the GenoPro community 

Group: Customers
Last Login: Today @ 8:46:16 AM
GenoPro Version: 2.0.1.6
Posts: 1,347, Visits: 6,680
Line 787 in your Dictionary.xml STILL HAS AN ERROR! please compare the correct line in my previous post with the line shown as being in error in your post.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Post #23645 Posted 2/19/2009 5:33:54 AM
Forum Writer

Forum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum Writer

Group: Customers
Last Login: 11/6/2009 7:48:30 AM
GenoPro Version: 2.0.1.6
Posts: 51, Visits: 174
Hello!

Maybe I've been staring too much Dictionary.xml (finnish version) I didn't notice my typo error on line 787 (see below):

<ChildBiological_F T="biologinen tytär" P="biologiset tyttäret" "C1="biologinen tytär"/>

My error is obvious --> "C1....! 

I corrected my typo in Dictionary.xml and run succesfully Narrative Report in finnish with finnish version of Config.xml.  Thanks for your patience and excellent support.

Where can I load latest "Customized Descendants Report" and "Customized Ancestors Report" or any other.  I assume that they all work with newly into finnish translated Dictionary.xml and Config.xml?

BR, Jarmo

Post #23659 Posted 2/20/2009 3:06:23 AM
Forum Writer

Forum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum Writer

Group: Customers
Last Login: 11/6/2009 7:48:30 AM
GenoPro Version: 2.0.1.6
Posts: 51, Visits: 174
Hello!  What have I done wrong ("Narrative Report") this timewhile my timeline look a bit strange (see attachment Timeline.doc).  BR, Jarmo

  Post Attachments 
Timeline.doc (4 views, 34.00 KB)
Post #23662 Posted 2/20/2009 8:22:24 AM


Grand Master

Grand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand Master This user is a contributor to FamilyTrees.GenoPro.com This user is an important contributor to the GenoPro community 

Group: Customers
Last Login: Today @ 8:46:16 AM
GenoPro Version: 2.0.1.6
Posts: 1,347, Visits: 6,680
Some of the .gif images for the timeline events cannot be found, and the browser default image is distorting the line. Please ensure that the following section of your Dictionary.xml has not been changed or translated:


  <TimelineEducation T="education"   C1="#9ACD32" C2="yellowgreen" />
  <TimelineFamily_MF T="family_MF" P="family_MFX" C1="#2E8B57" C2="seagreen" />
  <TimelineFamily_FM T="family_MF" P="family_MFX" C1="#2E8B57" C2="seagreen" />
  <TimelineFamily_MM T="family_MM"   P="family_MMX" C1="#2E8B57" C2="seagreen" />
  <TimelineFamily_FF T="family_FF"   P="family_FFX" C1="#2E8B57" C2="seagreen" />
  <TimelineFamily_F T="family_"   C1="#2E8B57" C2="seagreen" />
  <TimelineFamily_M T="family_"   C1="#2E8B57" C2="seagreen" />
  <TimelineIndividual_M T="gender_M" P="gender_MX" C1="#1E90FF" C2="dodgerblue" />
  <TimelineIndividual_F T="gender_F" P="gender_FX" C1="#DC143C" C2="crimson" />
  <TimelineIndividual_P T="gender_P" P="gender_PX" C1="#D2691E" C2="chocolate" />
  <TimelineIndividual_ T="gender_"   C1="#8A2BE2" C2="blueviolet" />
  <TimelineContact T="occupancy"   C1="#FFA500" C2="orange" />
  <TimelineOccupation T="occupation"   C1="#8B008B" C2="darkmagenta" />

as these lines define the .gif images used.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
« Prev Topic | Next Topic »

«««123456»»»

Reading This Topic Expand / Collapse
Active Users: 1 (1 guest, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: GenoProSupport, JcMorin, Ron

Permissions Expand / Collapse

All times are GMT -5:00, Time now is 11:40 AM

Copyright 1998-2009 GenoPro. All rights reserved. GenoPro and the GenoPro logo are trademarks.