By Egan Wolf - Friday, March 12, 2021
|
I have a family with 2 daugthers and for the cardinal number it uses _Cardinal_2 and not _Cardinal_2_F but the comment in Dictionary.xml says it should work since 2.0.1.6.
|
By genome - Friday, March 12, 2021
|
Seems to be working fine for me.
e.g. if I choose report {PT-BR} Relatório Narrativo that has in Dictionary.xml
<_Cardinal_2 T="dois" /> <_Cardinal_2_F T="duas " />
and run report on Black genomap in Harry Potter sample I see |
By Egan Wolf - Sunday, March 14, 2021
|
So it's the problem in Narrative_2.0.1.7 PL - RC2. I think I found the function which is missing in Lang.vbs:
Function StrDicPluralCardinalMFU(strKey, iCount, strGender) ' gender-aware version of Dic.PlurualCardinal Dim strKeyMFU StrDicPluralCardinalMFU = "" If iCount > 0 Then strKeyMFU = Util.IfElse(Dic.Peek(strKey & "_" & strGender) <> "",strKey & "_" & strGender , strKey) '1st see if there is a specific format for this key and count in the Dictionary, with or without gender qualification StrDicPluralCardinalMFU = StrDicAttribute2(strKeyMFU, "C" & iCount & "_" & strGender, "C" & iCount) ' if not then generate standard 'plurialcardinal'phrase but with gender based cardinal number. If StrDicPluralCardinalMFU = "" Then StrDicPluralCardinalMFU = Dic.FormatString("_FmtPlurialCardinal", StrDicMFU("_Cardinal_" & iCount, strGender), Dic.Plurial(strKeyMFU, iCount)) |
Can I simply copy the file from the PT-BR report?
|
By genome - Sunday, March 14, 2021
|
Narrative_2.0.1.7 PL - RC2 
That skin template must be ancient (well 12 years old anyway ). I had forgotten that a Polish translation of the Narrative Report even existed.
I think it would be better to take just the Dictionary.xml & Config.xml files from that translation and see if they can be used in a skin template that utilises the current shared scripts in the Common folder.
I will see if I can put one together. Meanwhile if you have any updates to the Dictionary.xml from that skin please let me know
|
By Egan Wolf - Monday, March 15, 2021
|
I try to fix some parts, because they don't sound natural. I'm not familiar with the file so it takes some time, I'll send it to you when I finish.
|
By genome - Tuesday, March 16, 2021
|
I have attached a zip file with a version of the Polish Narrative Report Skin Template {PL} Raport Narracyjny which works with the latest common code base.
|