|
|
Customers Important Contributors Translator GenoPro version: 3.1.0.1
Last Login: Friday, November 25, 2022
Posts: 334,
Visits: 7,574
|
Thanks!!! Once again you approved that you are the best  If I understood what you said then what I should do is somthing like this:
Is this correct?
Edited: Monday, February 20, 2006 by
Yehudad
|
|
|
Administrators Moderators Customers Gamma FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: Thursday, January 16, 2025
Posts: 4,886,
Visits: 22,775
|
If you use the Alternative Names to store the Hebrew names, then you will set the following in Init.htm (so the entire report uses the Alternative Names for hyperlinks).Report.TagHyperlink = "Name.Alternative" ' Use the alternative name instead of the full name |
|
|
|
Customers Important Contributors Translator GenoPro version: 3.1.0.1
Last Login: Friday, November 25, 2022
Posts: 334,
Visits: 7,574
|
GenoProSupport (2/21/2006)
If you use the Alternative Names to store the Hebrew names, then you will set the following in Init.htm (so the entire report uses the Alternative Names for hyperlinks). Report.TagHyperlink = "Name.Alternative" ' Use the alternative name instead of the full name |
I'm not using the "Alternative Names" field. I created the "NameDictionary.xml" file and using it to translate the names. Although, now that you mentioned it I should be reffering in my code to this option, as well.
|
|
|
Customers Important Contributors Translator GenoPro version: 3.1.0.1
Last Login: Friday, November 25, 2022
Posts: 334,
Visits: 7,574
|
Is it on the 15g version? I'm getting an error message that there is an "Invalid character" on the Report.TagHyperlink line strFather = StrFullName(i.father) Report.TagHyperlink = strFather Report.WritePhraseDic "PhParents", strNamePossessive, ToBe2ind(i, i.father), i.father.ToHtmlHyperlink, strPnR, ToBe2ind(i, i.mother), i.mother.ToHtmlHyperlink Report.TagHyperlink = ""
|
StrFullName is a my method to translate the ind. name to Hebrew.
Edited: Tuesday, February 21, 2006 by
Yehudad
|
|
|
Customers Important Contributors Translator GenoPro version: 3.1.0.1
Last Login: Friday, November 25, 2022
Posts: 334,
Visits: 7,574
|
Got my mistake...The Report.TagHyperlink is getting a string which is the GenoPro field to be taken as the hyperlink. What I need is somthing a little different. I don't want to enter several names to an individual. I want to give the English name to my ind. Then I take the translation from "NameDictionary.xml". The advantage this way is that I only have to translate the name once and not go over each name in my tree and give him the Hebrew name. So, what I originally asked is the ability to give the hyperlink string itself. My method will translate the name into whatever language you want and give the translated name, as a string, to your method. In turn your method will use this string as the hyperlink text. In this way your tree can be in English, but you will be able to produce reports in any language you want as long as you have the dictionary.xml and NameDictionary.xml without the need to enter "Alternative Name" in different languages each time.
|
|
|
Customers Important Contributors Translator GenoPro version: 3.1.0.1
Last Login: Friday, November 25, 2022
Posts: 334,
Visits: 7,574
|
Any comment from GenoProSupport?
|
|
|
Administrators Moderators Customers Gamma FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: Thursday, January 16, 2025
Posts: 4,886,
Visits: 22,775
|
I cannot do a quick fix on the Name Dictionary. I will address this issue when I do the translation of the software. There are many important design decisions to make the report generator flexible, yet easy to translate.
|
|
|
Customers Important Contributors Translator GenoPro version: 3.1.0.1
Last Login: Friday, November 25, 2022
Posts: 334,
Visits: 7,574
|
GenoProSupport (2/23/2006) I cannot do a quick fix on the Name Dictionary. I will address this issue when I do the translation of the software. There are many important design decisions to make the report generator flexible, yet easy to translate.I am not asking for that! I don't want you to translate anything! What I need is, if possible, a method like Report.TagHyperlink but instead of giving it a name of field to take the value from, I want to give it the value to use! For example: Report.TagHyperlink = strTranslatedName |
where strTranslatedName is the string, which I already translated, and I want the ReportGenerator to use it as the hyperlink text.
Edited: Thursday, February 23, 2006 by
GenoProSupport
|