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

GenoPro Support Forum




Additional "second"

Click to view RSS...
Author
Posted Wednesday, June 25, 2008 - Post #21967
Forum Expert

Forum ExpertForum ExpertForum ExpertForum ExpertForum ExpertForum ExpertForum ExpertForum ExpertForum Expert

Customers
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Friday, October 30, 2020
Posts: 84, Visits: 287
"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?

Posted Thursday, June 26, 2008 - Post #21977
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: 4 hours ago
Posts: 3,338, Visits: 25,589
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"
Posted Friday, June 27, 2008 - Post #21983
Forum Expert

Forum ExpertForum ExpertForum ExpertForum ExpertForum ExpertForum ExpertForum ExpertForum ExpertForum Expert

Customers
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Friday, October 30, 2020
Posts: 84, Visits: 287

[/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.


Posted Friday, June 27, 2008 - Post #21985
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: 4 hours ago
Posts: 3,338, Visits: 25,589
Ok Anna, I was wrong, swedish grammar not being my best subject. Hehe

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"
Posted Sunday, June 29, 2008 - Post #22000
Forum Expert

Forum ExpertForum ExpertForum ExpertForum ExpertForum ExpertForum ExpertForum ExpertForum ExpertForum Expert

Customers
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Friday, October 30, 2020
Posts: 84, Visits: 287
Thanks Ron!
Posted Wednesday, July 2, 2008 - Post #22015
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: 4 hours ago
Posts: 3,338, Visits: 25,589
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"


Edited: Wednesday, July 2, 2008 by GenoProSupport


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse