|
|
|
Forum Guru
      
Group: Customers
Last Login: 11/12/2008 5:00:44 PM
GenoPro Version: 2.0.1.6
Posts: 120,
Visits: 431
|
|
When I use the i.death.date.ToStringNarrative, it always comes back with the english 'on'.
I would like to use the dutch word 'op', however I can't see where in the Dictionary I can change that......
Any hints?
rgds, Ronald
|
|
|
|
|
Legendary Master
       
Group: Administrators
Last Login: Today @ 9:21:17 AM
GenoPro Version: 2.4.0.3
Posts: 3,523,
Visits: 14,875
|
|
I forgot to include them while merging the templates. Insert the following in the LanguageDictionary:
<!-- The narrative date is for include a date within a sentence --> <_DateNarrativeDay T=" on {}" /><!-- eg: "Daniel was born on 8-Sep-1974" --> <_DateNarrative T=" in {}" /><!-- eg: "Daniel was born in 1974" -->
|
By the way, I am aware the method <code>Report.WriteText</code> does encode the first char " " into " ". I found a solution to this about an hour ago, so the next beta will have the fix.
|
|
|
|
|
Forum Guru
      
Group: Customers
Last Login: 11/12/2008 5:00:44 PM
GenoPro Version: 2.0.1.6
Posts: 120,
Visits: 431
|
|
I forgot to include them while merging the templates. Insert the following in the LanguageDictionary: <!-- The narrative date is for include a date within a sentence --> <_DateNarrativeDay T=" on {}" /><!-- eg: "Daniel was born on 8-Sep-1974" --> <_DateNarrative T=" in {}" /><!-- eg: "Daniel was born in 1974" -->
|
By the way, I am aware the method Report.WriteText does encode the first char " " into " ". I found a solution to this about an hour ago, so the next beta will have the fix.
Dan,
I tried it but unfortunately it doesn't seem to work.
I copied your xml snippet just above the <ReportGenerator> segment, just before
<!-- The following are user additions -->
and changed 'on' to 'op' without any effect. Even restarted Genopro....
rgds, Ronald
|
|
|
|
|
Legendary Master
       
Group: Administrators
Last Login: Today @ 9:21:17 AM
GenoPro Version: 2.4.0.3
Posts: 3,523,
Visits: 14,875
|
|
You are right. I have fixed the problem on my side. In the meantime, remove the underscore to have "DateNarrativeDay" and "DateNarrative". It should work.
|
|
|
|
|
Forum Guru
      
Group: Customers
Last Login: 11/12/2008 5:00:44 PM
GenoPro Version: 2.0.1.6
Posts: 120,
Visits: 431
|
|
You are right. I have fixed the problem on my side. In the meantime, remove the underscore to have "DateNarrativeDay" and "DateNarrative". It should work.
It works. However, I expect you trim the spaces from the beginning of the string when reading this dictionary variable. Hence my space got lost (I tried using two spaces to see if that made a different.; it didn't.
I finally changed the beginning space to and it worked like a charm.
Sounds like a small fix for a future version, or you can change the dictionary entry to also contain the non-breakable space. :-)
Thanks for the fast response, rgds, Ronald
|
|
|
|
|
Forum Master
      
Group: Customers
Last Login: Today @ 7:55:16 AM
GenoPro Version: 2.0.1.6
Posts: 720,
Visits: 6,070
|
|
| Had the same problem with german and fixed it accordingly. Works now.
|
|
|
|
|
Legendary Master
       
Group: Administrators
Last Login: Today @ 9:21:17 AM
GenoPro Version: 2.4.0.3
Posts: 3,523,
Visits: 14,875
|
|
This has been fixed in 2.b13g.
|
|
|
|