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

GenoPro Support Forum




Using Genopro in Hebrew

Click to view RSS...
Author
Posted Thursday, February 23, 2006 - Post #10412
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

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

Posted Thursday, February 23, 2006 - Post #10410
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

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.
Posted Thursday, February 23, 2006 - Post #10409
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

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?
Posted Tuesday, February 21, 2006 - Post #10393
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

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.

Posted Tuesday, February 21, 2006 - Post #10387
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

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

Posted Monday, February 20, 2006 - Post #10380
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

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.

Posted Monday, February 20, 2006 - Post #10377
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

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
Posted Monday, February 20, 2006 - Post #10375
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

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 Wink

If I understood what you said then what I should do is somthing like this:

Report.TagHyperlink = strName    ' strName = Hebrew name
Report.Write3Br "<b>השם שלי הוא:</b> ", i.ToHtmlHyperlinksNN
Report.TagHyperlink = ""  ' Reset to the default (which will take the name)

Is this correct?

Edited: Monday, February 20, 2006 by Yehudad

Posted Monday, February 20, 2006 - Post #10367
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

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 am glad you bumped this thread... as I completely forgot about it.

I added a new property named Report.TagHyperlink.  This property allows you to set the tag attribute to use when creating an hyperlink.  Here is an example:

Report.Write3Br "<b>Children:</b> ", i.children.ToHtmlHyperlinksNN  ' Display the name of the children
Report.Write3Br "<b>Childrens' Age:</b> ", i.children.ToHtmlHyperlinksNN("age") ' Display the age of the children
Report.TagHyperlink = "age"    ' Display the age as the hyperlink text
Report.Write3Br "<b>Children's Age:</b> ", i.children.ToHtmlHyperlinksNN   ' Same as above, but using TagHyperlink
Report.TagHyperlink = ""  ' Reset to the default (which will take the name)

Running this code within file template individual.htm, I got the following for my family tree:

Children: Daniel Morin, Anne Esther Morin, Benoit Christian Morin, Estelle Morin, Jean-Claude Morin
Childrens' Age: 31, 29, 27, 26, 25
Children's Age: 31, 29, 27, 26, 25

This improvement will be in Beta15g (coming this week).

Edited: Monday, February 20, 2006 by GenoProSupport

Posted Sunday, February 19, 2006 - Post #10353
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
Translator
GenoPro version: 3.1.0.1

Last Login: Friday, November 25, 2022
Posts: 334, Visits: 7,574
GenoProSupport (2/19/2006)
I am looking at the code for a solution.

Thanks.
It can be just a temporary method until GenoPro will do this automatically. I can translate the individual summary to Hebrew, but the hyperlinks are still in English...Ermm



Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse
Active: 3 - 1 guest, 1 member, 0 anonymous.
Refresh