GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 

GenoPro Support Forum




Kinship Calculator (NL-BE)

Click to view RSS...
Author Issue with KinshipParent* tags
Posted Sunday, February 16, 2020 - Post #40299
Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master

Administrators
Customers
FamilyTrees.GenoPro.com
Important Contributors
GenoPro version: 3.1.0.1

Last Login: 2 hours ago
Posts: 527, Visits: 4,347
I've done some work on  translating the dictionary entries for the Kinship Calculator skin into Dutch. Most of it runs OK but I have an issue with the KinshipParent* tags.
Apparently, it looks as if the <KinshipParents> tag (and the related <KinshipParent_M> and <KinshipParent_F> tags) allow to specify up to 4 previous generations "only" (C1 .. C4).
In Dutch we have distinct names for up to 6 previous generations, so it looks as if I need a C5 and C6 attribute as well.
Is there an easy way to implement this or does it require a change in code?
I've added an overview hereafter.

http://support.genopro.com/Uploads/Images/95d9a4e7-2768-4b35-b270-a50e.jpg
Replies
Posted Monday, February 17, 2020 - Post #40306
Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master

Administrators
Customers
FamilyTrees.GenoPro.com
Important Contributors
GenoPro version: 3.1.0.1

Last Login: 2 hours ago
Posts: 527, Visits: 4,347
Yes, I've followed the long discussion with regislab61 and I used the French skin do to my initial tests.  On the fly I also discovered the "removed" terminology which I was not aware of.

This being said, I don't believe that the "normal" person who is looking into my genealogy is able to define what I would mean with e.g., "oudgrootvader".  They would simply not know that such a word exists.  Most of the people I know always use simple terminology like "my grandfathers' grandfather" and not "my great-great-grandfather".

So I would limit the use of this terminology to 4 generations up (like it is now C1 - C4) and switch to a different sentence like "You have to go up 6 generations before finding a common ancestor which is XYZ.".  The diagram the person is looking at anyhow explains what we are talking about.
Posted Tuesday, May 26, 2020 - Post #40505
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Yesterday @ 6:34 AM
Posts: 3,504, Visits: 27,491
I have made some amendments to accommodate this requirement.  the amendments are included in skins attached to http://support.genopro.com/Topic40503.aspx

Probably best explained by showing the amended Dictionary entries:

<!-- 0=great/grand/parent names, 1= depth1 > ([Cmax]|| 4) generations?, 2=generations1 - ([Pn] || 2), 3=relationship1 (parents/grandparents etc.), 4=1st individual, 5= depth2>0, 6=generation diff = 0, 7=depth2 > ([Cmax]|| 4), 8=depth2 -2, 9=relationship2, 10=2nd individual, 11=partner1, 12=partner2, 13= Ind1 gender ID, 14=Ind2 gender ID,

Extra attributes in phrase below:  
'Cn' where n=1 to 'Cmax' (default 4) provide relationship names for successive generations of ancestor.
if no. of generations exceed 'Cmax' then attribute 'P'  is used for relationship prefixed by 'n x ',
where n is cardinal no. of generations less value of attribute 'Pn' (default 2).
V="2020.05.05±" -->
<KinshipParent_M T="[{?5}De gemeenschappelijke voorouder ]{0} is de [{1}x ]{3} van {5}[ ({8})][{?4} en [{?!12}[{2}x ]{4} van ]{6} {9})]]." P="overgrootvader" Pn="0" Cmax="6"  C1="vader"  C2="grootvader"  C3="overgrootvader"  C4="betovergrootvader" C5="oudvader" C6="outgrootvader"/>
<KinshipParent_F T="[{?5}De gemeenschappelijke voorouder ]{0} is de [{?1}{2}x ]{3} van ]{6}[ ({9})][{?4} en [{?!12}[{2}x ]{4} van ]{6}[ ({9})]]." P="overgrootmoeder" Pn="0" Cmax="6" C1="moder"  C2="grootmoeder" C3="overgrootmoeder" C4="betovergrootmoeder" C5="oudmoeder" C6="outgrootmoeder" />
<KinshipParents  T="[{?4}De gemeenschappelijke voorouders ]{0} zijn [{1}x ]{3} van {5}[ ({8})][{?4} en [{?!12}[{2}x ]{4} van ]{6}[ ({9})]]." P="overgrootouders" Pn="0" Cmax="6" C1="ouders" C2="grootouders" C3="overgrootouders" C4="betovergrootouders" C5="oudouders" C6="outgrootouders" />


So now the number of specific relationship names for ancestors can be adjusted with the number defined via a 'Cmax' attribute. Generations above this number can use a phrase like: 

      Ancestor is x generations above Target    


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"



Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse