GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 
The Event Calendar is not translated


https://support.genopro.com/Topic18983.aspx
Print Topic | Close Window

By jcguasp - Saturday, August 25, 2007
I just installed 2.0.1.0 and noticed the subject in my FR report:

1) My events do not appear. For info, they are all listed within calendarevents.js.

2) The "Filter Events" is not shown.

3) In Genopro Gen Rep panel (Skin Name field), I cannot see the Birthday Listing  {FR}" option.

My apologies if you're still working on this feature.

Thank you,

JCG

By genome - Sunday, August 26, 2007
If find this strange. I have taken the 2.0.1.0 English Narrative skin, copied in your Dictionary & Config.xml files for 2.0.0.9 and updated Dictionary & Config with the Calendar related entries (english) from 2.0.1.0 and running the report on the Harry Potter sample I get:

i.e. months and days of week are translated and events appear OK.

Could you post the Dictionary & Config files you used?

N.B.I have not translated the heading or View Dictionary entries. Also 'Filter Events' is only shown when both Birthdays & Wedding Anniversaries are present, i.e. more than one event type.

By jcguasp - Sunday, August 26, 2007
Thanks Ron for your time.

Here are the files.

By genome - Monday, August 27, 2007
I see that I had omitted to 'javascript encode' the strings from the Dictionary, causing an error when calendarevents.js was executed. ( I find that the Firefox Error Console is the best way to discover this type of problem).  The attached replacement file for the skin fixes this. Note that because the French words for 'birthday' & 'anniversary' are the same, 'anniversaire', then the Filter Events line is not shown unless you change one or both translations e.g. to 'anniversaire de naissance' and/or 'anniversaire de mariage'.
By jcguasp - Monday, August 27, 2007
Ron, thanks very much for your update and for your 'anniversaire' trans tip.
I had to modify my trans and it's now working good.

Could you address, if possible, the following:

1) To be able to customize the 1st day of week, i.e. from Sun to Mon. In FR, a week really start on Monday (lundi).
I tried to change, in layercalendar.js, the vars 'SpecialDay' and 'weekdays' but to no avail.
Perhaps the necessity to add up another parameter in config.xml?

2) For my Ind born on the 22nd, it says '0ième ...' because it's his Day of Birth rather than his Birthday. Perhaps something could be corrected, e.g.:
a - to completely remove the entry from the list because it's not a Birthday as such.
or
b - to change '0ième ...' into simply 'Birth' (naissance).
I personnally favour the later as it's always informative to be able to notice the newborn ones.

3) For my Ind born on the 5th, I cannot get '71ième' instead of '71ière'. Is it because my 'cardinal form' entries, in dic, are missing something? You have my dic entries for checking.

Also:

4) I still have garbage in my svghelp.htm file (see my post http://support.genopro.com/FindPost18774.aspx item 5). In 2.0.1.0, '<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>' has not been added. I'll also check the implementation of the other items of the said post when I've got time. I saw item 4 has not been done either but you may have your reason for not doing so.

Finally, this request being rather for Genopro's JC/Dan:

5) Length of the 'Gene Rep Doc Description' field
I've got a rather long descrip taking up about 3/4 of the 'accueil' right pane page (21 lines including 7 blank lines for the EN nar + same for the FR nar). This field being a dual language field ({?EN: ...}{?FR: ...}), my {?FR: ...} nar, being the 2nd input nar in the field, is always truncated when I generate an FR rep.
Request: could the length of this field be increased to about 1.5 time the actual char length?
If not, I'll have to shorten my blablabla.

Thank you,

JC

By genome - Tuesday, August 28, 2007
Thanks once more for your thorough testing JC. I think I have fixed the calendar issues in the attached skin, but as usual more testing appreciated as mine has as yet been limited. Use 'FirstDay' attribute in WeekDays in Dictionary to set 1st day of week. Also need to change _OrdinalFormat_... entries for French translation.

I must have missed your earlier post. I'll look into the points you raised there.

Update 29 Aug 2007: Amended skin

By jcguasp - Tuesday, August 28, 2007
Thanks Ron.

I quickly ran a Rep with your new skin and got this error message:

Now an update to my above item No. 5 (for Dan): Gene Rep Doc Desc field:

I tested a bit more and discovered, in fact, that the field char length is OK. The truncation of my nar (EN or FR) is due to the presence of some colons (Smile in the nars. The truncation takes place just at the colon(s) location.

Probably the routine gets confused with the colon in {?FR/EN:...}. If you add up some colons in some 'dual-language' nar, you'll see.

Thank you,

JC

By 260240 - Tuesday, August 28, 2007
I am getting the same error

Error at line 44, position 3 (calendarevents.js): El objeto no acepta esta propiedad o método: 'Marriage.Type'

Error de Microsoft VBScript en tiempo de ejecución 800A01B6

By genome - Wednesday, August 29, 2007
Sorry Blush, my testing was a bit too limited. I used Harry Potter sample that does not have any marriage dates and of course that's where the error was!

By way of atonement I have (hopefully) cleared the other bugs you raised and thanks for your solutions JC. I have also fixed the colon : in the dual language narrative issue.

See my earlier post for updated skin.

By jcguasp - Wednesday, August 29, 2007
Thanks Ron. Looks good now but will test a bit more.

I however discovered something else with the CalEvent:

a- click on the main CalEvent icon: Cal pops up in the PP. OK

b- untick one of the filter options. Apply changes.

c- click again on the main CalEvent icon. A new pane opens up:

It happens with my EN version uploaded a few days ago in Genopro server but it's the same on my HD with your latest RC2 skin.

Thank you Ron,

JC

By haep - Wednesday, August 29, 2007
Hi Ron,

With my family tree, Narrative_2.0.1.1RC2.zip and GenoPro 2.0.1.0b I got the following error:

[6.54] Procesando archivo de plantilla 'calendarevents.js'...

Error en la línea 51, posición 2 (calendarevents.js): No coinciden los tipos: '[string: "(null)"]' Error de Microsoft VBScript en tiempo de ejecución 800A000D

Regards,

Hugo

UPDATE:

With a dummy family tree got:

Error en la línea 648, posición 3 (Code/Lang.vbs) generando 'A-P-ind00741.htm': El objeto no acepta esta propiedad o método: 'oEntry.Object(...).Child' Error de Microsoft VBScript en tiempo de ejecución 800A01B6

if I delete the individual, then I got the same with other members of the family... the union link is legal cohabitation... I hope it Helps

By genome - Wednesday, August 29, 2007
Thanks Hugo. f.Marriage.Date.Year should be f.Marriage.Date.NYear. I'll change the script shortly.
By genome - Wednesday, August 29, 2007
Skin updated to take account of your two errors Hugo.

I can't seem to find the cause of JC's calendar popup issue at present. It only seems to occur with IE, Firefox appears to be be OK.

By GenoProSupport - Wednesday, August 29, 2007
I just released version 2.0.1.1 with the new updated skin.  If you download & install http://www.genopro.com/InstallGenoPro.exe, you will get the modifications.
By haep - Wednesday, August 29, 2007
Ron (8/29/2007)
Skin updated to take account of your two errors Hugo.

I can't seem to find the cause of JC's calendar popup issue at present. It only seems to occur with IE, Firefox appears to be be OK.

Thanks Ron, it's working fine now.

Regards,

Hugo

By Serge - Monday, September 10, 2007
test
By Serge - Monday, September 10, 2007
I have gP 2.0.1.1

and installed the ziped file to C:\Program Files\GenoPro\Skins\Rapport français

but even, it's still impossible to generate a french report. I got an error message (sorry if, if I paste it here, the post won't post)

By Serge - Monday, September 10, 2007
the error message is:

I dont know why the message wont paste textually

By GenoProSupport - Monday, September 10, 2007
Serge (9/10/2007)I dont know why the message wont paste textually

The accelerators are not enabled for this control. Right-click with the mouse and select the menu item Copy from the context menu.

By 22101956 - Tuesday, September 11, 2007
Exactly the same error as Serge.
By genome - Wednesday, September 12, 2007
The error seems to indicate that the FirstDay attribute is missing from the WeekDays element. To avoid this error in French Narrative Report please try changing line 1600 of Dictionary.xml from

 <Weekdays>

to
 <Weekdays FirstDay="2">
By 22101956 - Wednesday, September 12, 2007
It works fine now.
Thanks
By Serge - Thursday, September 13, 2007
works too

found out some transl to finetune, but unortunately no time for it these days

will wait 'till tool allows