|
|
|
|
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
|
Yes of course, why didn't I think of that! I had actually forgotten that Dictionary.xml had its own Language attribute. Duh! Thanks for that Nand Also hopefully Dan will add a property to the ReportGenerator interface to provide the GenoPro GUI language code too so that BaseLanguage Custom Tag will not be required.
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
|
|
|
|
|
Customers FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: Wednesday, November 26, 2025
Posts: 495,
Visits: 3,391
|
This is not the best solution as a someone using say the Czech language for GenoPro & Config may want to generate a report in French, Italian or even English! So I will change to script to use firstly a code from a 'Document' custom tag ReportLangauge if present, otherwise any Language attribute of the <Skin> Tag in ConfigMsgXX.xml or lastly the XX code in ConfigMsgXX.xml.
Can't we use the existing <Dictionary Language ...> tag in the Dictionary.xml file for this? Personally, I would expect the Configuration Parameters Settings to be in the same language as the GenoPro user interface that I use which is not necessarily the language of the report that is going to be generated. I use the English user interface of GenoPro and the Configuration Parameter Settings in English to generate reports in Flemish, French and English.
|
|
|
|
|
Customers FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: Yesterday @ 3:08 PM
Posts: 282,
Visits: 12,922
|
Presently possible not to create Custom Tag 'BaseLanguage', but simply translate ConfigMsgEN.xml on other language
|
|
|
|
|
Customers FamilyTrees.GenoPro.com Important Contributors Translator GenoPro version: 3.1.0.1
Last Login: Thursday, November 6, 2025
Posts: 214,
Visits: 3,645
|
powery (26-Oct-2011) setting the required language code in a 'Document' Custom Tag 'BaseLanguage'
I created the tag 'BaseLanguage' and now everything works fine. But, in my opinion, only a few of those who use GenoPro, are able to create a 'Document' Custom Tags 'BaseLanguage'. For me it was not very easy, having never created a custom tag. I believe that also the parameters <Skin Language="EN" Name="English Report"> Narrative in config.xml, should be translated, otherwise you do not understand how to choose the skins, because, in the list for the choice, they are all "English Narrative Report (EN) ".
I attach the file ConfigMsgIT.xml, if it helps someone. Good night.
Vittorino Lepore  "Se non porti almeno una soluzione, anche tu fai parte del problema" or "If you don't bring at least a solution, even you're a part of the problem"
|
|
|
|
|
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
|
powery (26-Oct-2011)But I have a problem with name locatives. Not working. In previous version with True repair was ok.
I have found the problem. The target language code for the report is still being taken from config.xml, i.e. EN. Ideally in the future we want to have a choice of several DictionaryXX. xml files and the target language for the report will be taken from XX of the chosen Dictionary. Until then we need some other mechanism so we may as well use the language tag in ConfigMsgXX.xml. This is not the best solution as a someone using say the Czech language for GenoPro & Config may want to generate a report in French, Italian or even English! So I will change to script to use firstly a code from a 'Document' custom tag ReportLangauge if present, otherwise any Language attribute of the <Skin> Tag in ConfigMsgXX.xml or lastly the XX code in ConfigMsgXX.xml.
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
|
|
|
|
|
Customers FamilyTrees.GenoPro.com GenoPro version: 2.5.4.1
Last Login: Wednesday, June 2, 2021
Posts: 220,
Visits: 14,736
|
There is no need to edit Confin.xml. Cited from description to this version:
better support and backwards compatibility of non-English 'config.xml' messages by moving 'Configuration Parameters' and other messages to separate file ConfigMsgEN.xml and providing a merge of translated messages into it. At present ConfigMsgFR.xml & ConfigMsgPL.xml are also included in the skin. Others can be included as and when they are made available. It is intended that in future the skin will detect the localization language used in GenoPro and select the appropriate ConfigMsgXX.xml file if available. However at present the selection can be controlled by setting the required language code in a 'Document' Custom Tag 'BaseLanguage'
The custom tag is important. And set it to IT. It works fine.
But I have a problem with name locatives. Not working. In previous version with True repair was ok.
Edited: Wednesday, October 26, 2011 by
powery
|
|
|
|
|
Customers FamilyTrees.GenoPro.com Important Contributors Translator GenoPro version: 3.1.0.1
Last Login: Thursday, November 6, 2025
Posts: 214,
Visits: 3,645
|
I tried Latest GenoPro 2011 ''English Narrative Report Skin' of 25.10.2011. In English it's all right, even with GenoPro set in Italian.
I then created the file ConfigMsgIT.xml in Italian from ConfigMsgEN.xml. The template 'init.htm' continues using ConfigMsgEN.xml:
[0.00] Elaborazione modello 'init.htm'...
Merging Config.xml version 2011.10.25 into ConfigMsgEN.xml version 2011.10.25
Base skin version from Config.xml:2011.10.25
Then, I modified Config.xml: <Skins Language = "IT" Name = "Elaborazione Reports HTML "> GenoPro always set in Italian, the result does not change.
I also tried to set GenoPro in French. But the template 'init.htm' uses always and only ConfigMsgEN.xml
As if the language set to GenoPro is not visible.
What to do?
Thank you.
Vittorino Lepore  "Se non porti almeno una soluzione, anche tu fai parte del problema" or "If you don't bring at least a solution, even you're a part of the problem"
|
|
|
|
|
Customers FamilyTrees.GenoPro.com GenoPro version: 2.5.4.1
Last Login: Wednesday, June 2, 2021
Posts: 220,
Visits: 14,736
|
The problem persists in version 2011.10.25
|
|
|
|
|
Customers FamilyTrees.GenoPro.com GenoPro version: 2.5.4.1
Last Login: Monday, September 8, 2025
Posts: 42,
Visits: 5,046
|
Thanks a lot:-)
|
|
|
|
|
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
|
Many thanks for finding and fixing that bug. Some while back I changed Config.xml to provide for boolean parameters, but as you have discovered the script changes as a consequence of that change were incomplete. The problem affects LangBaseNameLookup, LangLocativeLookup and ShowBaseNameOnly as well as LangPossessive Lookup that you mention.
I will publish a revised skin shortly.
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
|