Additional "second"
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 )
        



Additional "second" Expand / Collapse
Author
Message
Post #21967 Posted 6/25/2008 5:03:43 AM
Forum Expert

Forum ExpertForum ExpertForum ExpertForum ExpertForum ExpertForum ExpertForum ExpertForum Expert This user is an important contributor to the translation of GenoPro This user is a contributor to FamilyTrees.GenoPro.com 

Group: Customers
Last Login: 2 days ago @ 11:32:15 PM
GenoPro Version: 2.0.1.6
Posts: 92, Visits: 242
"Second" is used for two purposes in the report: for 2nd in dates, and for "second oldest". In swedish we use a different word for the latter ("näst" instead of "andra", related to the "next" in english).

In order to make the sentence work, I need to add "näst" instead of "andra" as an argument into the report generator phrase. Where do I make that change? I assume I am not supposed to alter other files than the dictionary in order not to hazard future updates? Does that mean you need to make the changes for me?

Post #21977 Posted 6/26/2008 7:53:47 PM


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 @ 6:30:53 PM
GenoPro Version: 2.0.1.6
Posts: 1,151, Visits: 5,401
I may be wrong, but I think you should just be able to change the Dictionary to have
 <_Ordinal_2 T="näst"/>
instead of
 <_Ordinal_2 T="andra"/>
_Ordinal_2 is only used for PhChildRank & PhFamilyWith. Dates in the calendar use the <_OrdinalFormat_2 T="{}nd"/> entry.



'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Post #21983 Posted 6/27/2008 3:45:17 PM
Forum Expert

Forum ExpertForum ExpertForum ExpertForum ExpertForum ExpertForum ExpertForum ExpertForum Expert This user is an important contributor to the translation of GenoPro This user is a contributor to FamilyTrees.GenoPro.com 

Group: Customers
Last Login: 2 days ago @ 11:32:15 PM
GenoPro Version: 2.0.1.6
Posts: 92, Visits: 242

[/code]_Ordinal_2 is only used for PhChildRank & PhFamilyWith. Dates in the calendar use the <_OrdinalFormat_2 T="{}nd"/> entry.


I checked: In PhFamilyWith, I need "andra" (number of families). Only in PhChildRank are ages compared, and that is the only occation when I need "näst".

But I wonder if I shouldn't fix it by simply adding a test for if the family rank is two, and then replace the ordinal with the explicit "näst", rather than adding an additional ordinal?

I always liked having all arguments defined at the top of a program rather then nested in program text, so adding an extra "age comparison ordinal" would make me happy by making the programming cleaner and corrections easier. Other languages may have the same problem later on.


Post #21985 Posted 6/27/2008 6:29:32 PM


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 @ 6:30:53 PM
GenoPro Version: 2.0.1.6
Posts: 1,151, Visits: 5,401
Ok Anna, I was wrong, swedish grammar not being my best subject.

I do want non-English language versions of the Narrative Report to be possible via just changes to Dictionary.xml and Config.xml. So in the next version of the Narrative Report the code will cater for an alternative ordinal text, and, in the child rank phrase only, it will use this alternative if present, otherwise the standard text will be used. So the Swedish Dictionary can then have
<_Ordinal_2 T="andra" T1="näst"/>
I hope you agree that this will fix your problem. I will post a revised skin in a couple of days.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Post #22000 Posted 6/30/2008 2:04:51 AM
Forum Expert

Forum ExpertForum ExpertForum ExpertForum ExpertForum ExpertForum ExpertForum ExpertForum Expert This user is an important contributor to the translation of GenoPro This user is a contributor to FamilyTrees.GenoPro.com 

Group: Customers
Last Login: 2 days ago @ 11:32:15 PM
GenoPro Version: 2.0.1.6
Posts: 92, Visits: 242
Thanks Ron!
Post #22015 Posted 7/2/2008 7:02:36 PM


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 @ 6:30:53 PM
GenoPro Version: 2.0.1.6
Posts: 1,151, Visits: 5,401
Anna, the fix is in version 2.0.1.5.5 that you can find at Narrative Report with PDF format genograms


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


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

Permissions Expand / Collapse

All times are GMT -5:00, Time now is 7:48 PM

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