|
|
Customers FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: Thursday, March 6, 2025
Posts: 84,
Visits: 288
|
"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?
|
|
|
Administrators Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: Yesterday @ 8:31 PM
Posts: 3,422,
Visits: 26,444
|
I may be wrong, but I think you should just be able to change the Dictionary to have instead of _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"
|
|
|
Customers FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: Thursday, March 6, 2025
Posts: 84,
Visits: 288
|
[/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.
|
|
|
Administrators Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: Yesterday @ 8:31 PM
Posts: 3,422,
Visits: 26,444
|
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"
|
|
|
Customers FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: Thursday, March 6, 2025
Posts: 84,
Visits: 288
|
Thanks Ron!
|
|
|
Administrators Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: Yesterday @ 8:31 PM
Posts: 3,422,
Visits: 26,444
|
|