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

GenoPro Support Forum




Translating names from one language to another

Click to view RSS...
Author Translating family names from one language to another
Posted Wednesday, August 17, 2005 - Post #6893
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
Translator
GenoPro version: 2.5.4.1

Last Login: Tuesday, May 19, 2026
Posts: 334, Visits: 7,574
I'm using English as my family tree language because I have relatives all over the world. My language is Hebrew.
I dont want to have two family trees to maintain (English + Hebrew).

So

I thought of an idea.
The dictionary.xml file lets me generate a report in Hebrew for my tree. The problem is that the name (first + last) will be in English.

I thought of using the dictionary.xml to translate names from English to Hebrew. I tried it and it worked.
However - the list of names and surnamesis very long.

my question:
I want to create a new xml file that will hold all the names and surnames I want.
Is there any methods within the Report generator that I can use to retrieve information from the xml file (like the LanguageDictionary method)?


Edited: Tuesday, August 30, 2005 by GenoProSupport
Replies
Posted Tuesday, August 30, 2005 - Post #7983
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: Tuesday, February 3, 2026
Posts: 4,886, Visits: 22,803
The property i.father does return another individual.  You can chain them together.  For instance, if you want to get the maternal grandfather's picture, you can do the following: i.father.mother.pictures.primary.  I verified if you can access the gender.id and it does.  For instance, the following code works flawlessly for every individual:

Report.WriteText "Gender: " & i.mother.father.gender.id

I knew someonw would ask about Util.GetStatisticsForIndividuals(obj1) Smile.  The method GetStatisticsForIndividuals return a number representing the statistics of one individual or a collection of individuals.

In short, the number 1 represents one individual and the number 2 represents two (or more) individuals.  The number 4 means one individual deceased, and the number 8 means two individuals deceased.  Of course, you cannot have one individual deceased without an individual, so the value for one indivdiual deceased is 5 (4+1) and two individuals deceased is (4+4+1+1).

I am documenting this method at http://www.genopro.com/NewReportGenerator/Objects/Util/GetStatisticsForIndividuals/

Edited: Tuesday, August 30, 2005 by GenoProSupport

Posted Tuesday, August 30, 2005 - Post #7984
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
Translator
GenoPro version: 2.5.4.1

Last Login: Tuesday, May 19, 2026
Posts: 334, Visits: 7,574
GenoProSupport
The property i.father does return another individual.  You can chain them together.  For instance, if you want to get the maternal grandfather's picture, you can do the following: i.father.mother.pictures.primary.  I verified if you can access the gender.id and it does.  For instance, the following code works flawlessly for every individual:

Report.WriteText "Gender: " & i.mother.father.gender.id

I tried to extract i.father.gender.id yesterday, but when I generated the report it said that he can't found "is_" in the dictionary.xml, which means that it didn't got "M" or "F" to the string. I will have to try it again then...

Edited: Tuesday, August 30, 2005 by Yehudad

Posted Wednesday, August 31, 2005 - Post #7992
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: Tuesday, February 3, 2026
Posts: 4,886, Visits: 22,803
Maybe you have an older version of Dictionary.xml.  Try generating it from the a fresh copy of Beta14.  The sample code
Report.WriteText "Gender: " & i.mother.father.gender.id
does not use the dictionary.
Posted Wednesday, August 31, 2005 - Post #8000
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
Translator
GenoPro version: 2.5.4.1

Last Login: Tuesday, May 19, 2026
Posts: 334, Visits: 7,574
GenoProSupport
Maybe you have an older version of Dictionary.xml.  Try generating it from the a fresh copy of Beta14.

I do use the Beta14 copy.

My function looks like this:

Function ToBe2Ind(ind1, ind2)

Dim nStatistics1, nStatistics2
nStatistics1 = Util.GetStatisticsForIndividuals(ind1)
nStatistics2 = Util.GetStatisticsForIndividuals(ind2)
...

' Additional code for Hebrew

IndGender = ind2.gender.id
DicWord = DicWord & "_" & IndGender
ToBe2Ind = Dic(DicWord)

End Function

Where ind1 = i and ind2 = i.father. DicWord gets is/are/was/were the same way as it is today.

If I use ind1 to get the gender.id there is no problem. The current row, with ind2 is not returning anything.

Posted Wednesday, August 31, 2005 - Post #8001
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: Tuesday, February 3, 2026
Posts: 4,886, Visits: 22,803
Sometimes ind2 is set to Nothing, and there is nothing the report generator can do to prevent a runtime error from happening.  In this case, you need to use the method Util.IsNothing.  Can you try try the following code:
If (Not Util.IsNothing(ind2)) Then
  IndGender = ind2.gender.id
End If
Posted Wednesday, August 31, 2005 - Post #8015
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
Translator
GenoPro version: 2.5.4.1

Last Login: Tuesday, May 19, 2026
Posts: 334, Visits: 7,574
Problem Solved! Thanks.

Threaded View

Expand / Collapse
Threaded View
Forum Post Translating names from one language to another By Yehudad ( Wednesday, August 17, 2005 )
Forum Post The property [c]i.father[/c] does return another individual. You can... By GenoProSupport ( Tuesday, August 30, 2005 )
Forum Post [quote][b]GenoProSupport[/b][hr]The property [c]i.father[/c] does... By Yehudad ( Tuesday, August 30, 2005 )
Forum Post Maybe you have an older version of Dictionary.xml. Try generating it... By GenoProSupport ( Wednesday, August 31, 2005 )
Forum Post [quote][b]GenoProSupport[/b][hr]Maybe you have an older version of... By Yehudad ( Wednesday, August 31, 2005 )
Forum Post Sometimes [c]ind2[/c] is set to [c]Nothing[/c], and there is... By GenoProSupport ( Wednesday, August 31, 2005 )
Forum Post Problem Solved! Thanks. By Yehudad ( Wednesday, August 31, 2005 )
Forum Post A few problema I found while translating the current report into... By Yehudad ( Monday, August 29, 2005 )
Forum Post [quote][b]Yehudad[/b][hr]The Report Generator adds a space after the... By GenoProSupport ( Tuesday, August 30, 2005 )
Forum Post [quote][b]GenoProSupport (8/30/2005)[/b]Remove the space between... By Yehudad ( Tuesday, August 30, 2005 )
Forum Post Here is my suggestion: 1. Create a function [c]ToBe2Ind[/c] and use it... By GenoProSupport ( Tuesday, August 30, 2005 )
Forum Post [quote][b]GenoProSupport[/b][hr]Create a function [c]ToBe2Ind[/c] and... By Yehudad ( Tuesday, August 30, 2005 )
Forum Post [quote][b]GenoProSupport[/b][hr]1. Create a function [c]ToBe2Ind[/c]... By Yehudad ( Tuesday, August 30, 2005 )
Forum Post [quote][b]Yehudad[/b][hr][quote]Are you refering to the... By GenoProSupport ( Tuesday, August 30, 2005 )
Forum Post You are correct, each skin will support multiple language too. With... By GenoProSupport ( Monday, August 29, 2005 )
Forum Post [quote][b]GenoProSupport (8/29/2005)[/b][hr]You are correct, each skin... By Yehudad ( Monday, August 29, 2005 )
Forum Post Great job on the new Beta 14. Is this feature in Beta 14, or it will... By Yehudad ( Monday, August 29, 2005 )
Forum Post [quote][b]Yehudad (8/29/2005)[/b][hr]Is this feature in Beta 14, or it... By GenoProSupport ( Monday, August 29, 2005 )
Forum Post [quote][b]GenoProSupport (8/29/2005)[/b][hr]It will take several weeks... By Yehudad ( Monday, August 29, 2005 )
Forum Post I was successful opening the page http://www.genealogi.se/namneng.htm... By GenoProSupport ( Thursday, August 18, 2005 )
Forum Post [quote]An introduction in english to why people are known by such... By V.L.o ( Thursday, August 18, 2005 )
Forum Post One source for "translating" or "generalizing" names is the swedish... By Anna ( Thursday, August 18, 2005 )
Forum Post [quote]There will be two lists: 1) The Master List from GenoPro.com... By Yehudad ( Thursday, August 18, 2005 )
Forum Post [quote]I thought that each user can have his own list based on the... By GenoProSupport ( Thursday, August 18, 2005 )
Forum Post I will try to explain it to you.
It is a little complecated. By
Yehudad ( Thursday, August 18, 2005 )
Forum Post This thread in it's full length attracted me. Excuse me if I don't... By 30909 ( Thursday, August 18, 2005 )
Forum Post I thought that each user can have his own list based on the people on... By Yehudad ( Thursday, August 18, 2005 )
Forum Post The idea is GenoPro can generate a list of unique names, and submit... By GenoProSupport ( Thursday, August 18, 2005 )
Forum Post [quote]The name translation will be done using a combination of... By Yehudad ( Thursday, August 18, 2005 )
Forum Post The name translation will be done using a combination of GenoPro and... By GenoProSupport ( Thursday, August 18, 2005 )
Forum Post [quote]So, what kind of those features mentioned in this discussion... By Yehudad ( Thursday, August 18, 2005 )
Forum Post So, what kind of those features mentioned in this discussion will be... By beraha ( Thursday, August 18, 2005 )
Forum Post [quote]Eventually yes. I will make sure the download is easy for the... By Yehudad ( Thursday, August 18, 2005 )
Forum Post [quote]Do you mean that there will be two namedictionary? the one you... By GenoProSupport ( Thursday, August 18, 2005 )
Forum Post [quote]The idea is to have a large dictionary of names available for... By Yehudad ( Thursday, August 18, 2005 )
Forum Post [quote]This will be an addition to the build-in tool in GenoPro or it... By GenoProSupport ( Thursday, August 18, 2005 )
Forum Post [quote]In fact, I plan to make the NameDictionary.xml public on the... By Yehudad ( Thursday, August 18, 2005 )
Forum Post Yes, indeed. The goal is to never duplicate code or data. This is... By GenoProSupport ( Thursday, August 18, 2005 )
Forum Post This is what so great in Dan's idea. You only have to create... By Yehudad ( Thursday, August 18, 2005 )
Forum Post :D Whit each new feature, I like this program even more...
By
V.L.o ( Thursday, August 18, 2005 )
Forum Post [quote]I would love to have the report generator capable to generate a... By Yehudad ( Thursday, August 18, 2005 )
Forum Post Probably. I would love to have the report generator capable to... By GenoProSupport ( Thursday, August 18, 2005 )
Forum Post So this is the plan for GenoPro v. 3? :D By Yehudad ( Thursday, August 18, 2005 )
Forum Post I agree. I think supporting VBScript and JavaScript is a step in the... By GenoProSupport ( Thursday, August 18, 2005 )
Forum Post What I think will be great is for the report generator to be able to... By Yehudad ( Thursday, August 18, 2005 )
Forum Post [quote]I do think that you are doing a great job in making GenoPro a... By GenoProSupport ( Thursday, August 18, 2005 )
Forum Post Thanks.
I did found those methods and removed them with the new...
By Yehudad ( Thursday, August 18, 2005 )
Forum Post Great, this is what I wanted to read. I am currently working on a... By GenoProSupport ( Thursday, August 18, 2005 )
Forum Post [quote]My question is the following: Is the use of NameDictionary.xml... By Yehudad ( Thursday, August 18, 2005 )
Forum Post [quote]The names I entered to the NameDictionary.xml were translated... By GenoProSupport ( Thursday, August 18, 2005 )
Forum Post [quote]I made an update at... By Yehudad ( Thursday, August 18, 2005 )
Forum Post [quote][quote]I am not sure what you mean. Do you mean that GenoPro... By Yehudad ( Thursday, August 18, 2005 )
Forum Post Oh, my mistake. The link should be... By GenoProSupport ( Thursday, August 18, 2005 )
Forum Post [quote][b]V.L.o[/b][hr]Sorry but there is no link to 13 j ![/quote]... By GenoProSupport ( Thursday, August 18, 2005 )
Forum Post Sorry but there is no link to 13 j !

altough i tried and...
By V.L.o ( Thursday, August 18, 2005 )
Forum Post [quote]I am not sure what you mean. Do you mean that GenoPro will... By GenoProSupport ( Thursday, August 18, 2005 )
Forum Post [quote]Yes, you have to enter the names manually in the file... By Yehudad ( Thursday, August 18, 2005 )
Forum Post Yes, you have to enter the names manually in the file... By GenoProSupport ( Thursday, August 18, 2005 )
Forum Post I keep getting this message, while trying to generate report using... By Yehudad ( Thursday, August 18, 2005 )
Forum Post Thanks for your feedback. The Google translate does sometimes produce... By GenoProSupport ( Thursday, August 18, 2005 )
Forum Post Dan,

just checked the names dictionary and found the name...
By maru-san ( Thursday, August 18, 2005 )
Forum Post I made an update at... By GenoProSupport ( Thursday, August 18, 2005 )
Forum Post Well according to this solution you wont need this method anymore. You... By Yehudad ( Thursday, August 18, 2005 )
Forum Post Simplicity is imperative, noting that most users are not computer... By ezrab ( Thursday, August 18, 2005 )
Forum Post Can't wait.
Looking forward to it :P
By Yehudad ( Thursday, August 18, 2005 )
Forum Post Next Beta By GenoProSupport ( Thursday, August 18, 2005 )
Forum Post Dan,
When do you think this feature will be added to GenoPro?
By Yehudad ( Thursday, August 18, 2005 )
Forum Post [quote] Question: Is this translation only for names, or it is also... By Yehudad ( Thursday, August 18, 2005 )
Forum Post [quote]What do you mean by "original form of Name"?[/quote] I was... By V.L.o ( Thursday, August 18, 2005 )
Forum Post The "Table" of translated names would appear in the Table Layout. As... By GenoProSupport ( Thursday, August 18, 2005 )
Forum Post [quote]Bottom line: the translation has to be specific to... By Yehudad ( Thursday, August 18, 2005 )
Forum Post [quote]GenoPro can populate the table with all unique names (first... By Yehudad ( Thursday, August 18, 2005 )
Forum Post [quote]Would you like the translation only in the report, or also in... By rdn ( Thursday, August 18, 2005 )
Forum Post Pay attention:)(for Post #6912) There's still a difference between... By Alfi ( Friday, September 9, 2005 )
Forum Post In which Beta version this translating names tools will be available? By Yehudad ( Tuesday, November 8, 2005 )
Forum Post [quote][b]Yehudad (11/9/2005)[/b][hr]In which Beta version this... By GenoProSupport ( Wednesday, November 9, 2005 )
Forum Post [quote][b]GenoProSupport My brother Jean Claude will join GenoPro... By beraha ( Friday, February 16, 2007 )
Forum Post The name project has been put on hold since we had created... By jcmorin ( Friday, February 16, 2007 )
Forum Post [quote][b]JcMorin (2/16/2007)[/b][hr]Make sure you participate in... By Yehudad ( Saturday, February 17, 2007 )
Forum Post Well I am glad this solution would work for you. The more "votes" I... By GenoProSupport ( Thursday, August 18, 2005 )
Forum Post [quote]My question is: Would that solution work for you? It is almost... By rdn ( Thursday, August 18, 2005 )
Forum Post Pushing is good. GenoPro is about pushing the limits of genealogy... By GenoProSupport ( Thursday, August 18, 2005 )
Forum Post Would it be pushing if the default 2nd language name would be some... By V.L.o ( Thursday, August 18, 2005 )
Forum Post GenoPro can populate the table with all unique names (first name,... By GenoProSupport ( Thursday, August 18, 2005 )
Forum Post [quote]GenoPro could have a small table in the "Tools" menu for name... By Yehudad ( Thursday, August 18, 2005 )
Forum Post It seams as a much better idea!
As it happens, most computer...
By V.L.o ( Thursday, August 18, 2005 )
Forum Post GenoPro could have a small table in the "Tools" menu for name... By GenoProSupport ( Thursday, August 18, 2005 )
Forum Post [quote][b]V.L.o (8/18/2005)[/b][hr]Wouldn't it be complicated for user... By Yehudad ( Thursday, August 18, 2005 )
Forum Post Wouldn't it be complicated for user to have data stored in two... By V.L.o ( Thursday, August 18, 2005 )
Forum Post [quote]Should GenoPro store those translated names in the .gno or .xml... By Yehudad ( Thursday, August 18, 2005 )
Forum Post Should GenoPro store those translated names in the .gno or .xml file?... By GenoProSupport ( Thursday, August 18, 2005 )
Forum Post [quote]The LanguageDictionary was designed to be very performant, so... By Yehudad ( Thursday, August 18, 2005 )
Forum Post What you requested is not a problem at all. In fact, all the tags in... By GenoProSupport ( Thursday, August 18, 2005 )
Forum Post My suggestion is when you open the dialog box for making your report,... By maru-san ( Thursday, August 18, 2005 )
Forum Post [quote][b]maru-san (8/18/2005)[/b][hr]So the request goes for a very... By GenoProSupport ( Thursday, August 18, 2005 )
Forum Post I started all my trees in english, but then I thought about all my... By maru-san ( Thursday, August 18, 2005 )
Forum Post At the moment, the LanguageDictionary object has only two methods:... By GenoProSupport ( Thursday, August 18, 2005 )


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse