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

GenoPro Support Forum




Wrong language for the Log Messages

Click to view RSS...
Author depending on the Language setup of Genopro and of the Report
Posted Friday, May 9, 2008 - Post #21622
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Important Contributors
FamilyTrees.GenoPro.com
Customers
Translator
GenoPro version: 2.0.1.6

Last Login: Tuesday, December 16, 2008
Posts: 390, Visits: 1,271
Another Lang inconsistancy problem:
1) with Genopro in EN and a Rep in FR:

2) and the other way round:

This is because the system picks up the error data from within the Dic selected for the Rep Lang.
To avoid this, i.e. to keep a consistant Lang for these Log Msgs, I suggest to move/transfer the 28 <Error.../>, the 5 <Warning.../> and the 6 <Parameters.../> elements from the Dic(s) to the Genopro Lang pack(s).
JC

Edited: Friday, May 9, 2008 by jcguasp

Reply
Posted Saturday, May 10, 2008 - Post #21628
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: 2 days ago @ 9:23 PM
Posts: 3,464, Visits: 26,854
GenoProSupport (5/9/2008)
Ron (5/9/2008)
If GenoPro makes available a new Property ReportGenerator.BaseLanguage that returns the GenoPro language then the report script can choose the appropriate language.

The property ReportGenerator.SkinLanguage was designed for that purpose, allowing a script to make runtime decisions about the selected language. 


Perhaps I did not make myself clear. I intended that ReportGenerator.BaseLanguage return the 'localization' language that the user has selected for GenoPro itself, and not the language for the Report, which is indeed obtained via ReportGenerator.SkinLanguage and which I have already employed within the skin templates.

Having reread the other post relating to this issue, it appears to me that text displayed whilst generating a report, such errors, warnings and comments must be stored separately to the text used in the report itself, as suggested by jcguasp. I now suggest that they be stored along with the config parameter descriptions, perhaps in a section GenerationMessages. Then GenoPro should localize these texts in a similar way to that proposed for configuration parameter descriptions and help tips. The report generator will require new method(s) to access these, or modify the existing Report.LogError/Warning/Comment. The message content can be either plain text or a Report Generator phrase with arguments, and so the method(s) need to cater for this.

Thanks to Ron, GenoPro now provides incredible reports
I cannot take all the credit for the reports. I have received tremendous help along the long path from the early beta days from a dedicated and loyal group of GenoPro users who have made significant contributions to the continuing development and maintenance of these reports by proposing improvements, testing the scripts and reporting problems. most noteable of late have been jcguasp, maru-san, EDilena & haep, but many more have helped in the past and my apologies for not mentioning you all. Without you, the reports would not be what they are today. Of course there are also those who have provided translations of the Narrative Report and localization of GenoPro.



'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"



Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse