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

GenoPro Support Forum




Translation of narrative phrases using pattern matching

Click to view RSS...
Author Advanced techniques to translate phrases into other languages using rules with pattern matching.
Posted Wednesday, August 31, 2005 - Post #7999
Forum Expert

Forum ExpertForum ExpertForum ExpertForum ExpertForum ExpertForum ExpertForum ExpertForum ExpertForum Expert

Customers
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Thursday, March 6, 2025
Posts: 84, Visits: 288
I found the newest generator easy to work with and have a skin in Swedish ALMOST ready to go.

Q: Where do I find (and edit) the texts (individuals/families) that appear after the counters of names in the index?

Anna

Edited: Monday, January 16, 2006 by Anna

Reply
Posted Tuesday, May 8, 2007 - Post #17670
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Customers
GenoPro version: 2.0.1.6

Last Login: Tuesday, November 10, 2015
Posts: 102, Visits: 499
haep (5/7/2007)
The most urgent issue I have with the plural forms is the 'had' .

Hi rboshuis,

Try this:

In Lang.vbs change the fowllowing lines to:

Line 337 strHaveOrHad = Dic("Had_Alt") ' One or more children died
Line 334 strHaveOrHad1 = Dic(Util.IfElse(Util.GetStatisticsForIndividuals(iParent, spouse) >= 4,"had_Alt","have"))
Line 350 strHaveOrHad = Dic("Had_Alt") ' One or more adopted children died
Line 359 strHaveOrHad = Dic("Had_Alt") ' One or more adopted children died

And in Dictionary.xml add this tag in a new just before line 617 as follows:

Line 617            <Had T="had"/>
Insert this Line    <Had_Alt T="had"/> <!-- Plurial -->
Line 618            <Have T="have"/>

Regards,

Hugo

Hugo,

That is more of less what I did (the only difference being I called Had_Alt HadM instead). But since I've been doing this in every single version since the earlier beta versions, you can imagine that I got quite a little bit fed up with changing it continuously.

Ron,

I'll test it tomorrow evening and let you know the results.

Kind regards,

Ronald


Threaded View

Expand / Collapse
Threaded View
Forum Post Translation of narrative phrases using pattern matching By Anna ( Wednesday, August 31, 2005 )
Forum Post [quote][b]JcMorin (5/3/2007)[/b][hr]GenoPro is working on the... By Rjn ( Friday, May 4, 2007 )
Forum Post [quote][b]Rjn (5/4/2007)[/b][hr]Just curious... how did you pick just... By GenoProSupport ( Friday, May 4, 2007 )
Forum Post I also intensively modified Lang.vbs and also some .htm files as "many... By jcguasp ( Thursday, May 3, 2007 )
Forum Post [quote][b]jcguasp (5/3/2007)[/b][hr] I'm no linguistic expert but, as... By Rjn ( Friday, May 4, 2007 )
Forum Post GenoPro is working on the translation of the application itself, and... By jcmorin ( Thursday, May 3, 2007 )
Forum Post Up until now I have largely concentrated on adding features to the... By genome ( Thursday, May 3, 2007 )
Forum Post [quote] rboshuis [hr]There is an inconsistency in using the... By rboshuis ( Sunday, May 6, 2007 )
Forum Post [quote]The most urgent issue I have with the plural forms is the 'had'... By haep ( Monday, May 7, 2007 )
Forum Post [quote][b]haep (5/7/2007)[/b][hr][quote]The most urgent issue I have... By rboshuis ( Tuesday, May 8, 2007 )
Forum Post See [url]http://support.genopro.com/FindPost17661.aspx[/url] for a... By genome ( Monday, May 7, 2007 )
Forum Post Have posted a newer version RC2 at... By genome ( Tuesday, May 8, 2007 )
Forum Post [quote][b]Ron (5/8/2007)[/b][hr]Have posted a newer version RC2 at... By maru-san ( Tuesday, May 8, 2007 )
Forum Post I have made a further changes to the proposed 2.0.0.5 release of the... By genome ( Wednesday, May 9, 2007 )
Forum Post [quote][b]Ron (5/3/2007)[/b][hr] I will incorporate Hugo's solution in... By haep ( Friday, May 4, 2007 )
Forum Post So far I have overcome the tranlation of "the" into German writing... By maru-san ( Friday, September 2, 2005 )
Forum Post You are right, I need to include the gender (male or female). We have... By GenoProSupport ( Friday, September 2, 2005 )
Forum Post When looking at the current dictionary, I see that there are already... By rboshuis ( Friday, October 21, 2005 )
Forum Post [quote][b]rboshuis (10/22/2005)[/b][hr]I needed to have both the... By GenoProSupport ( Saturday, October 22, 2005 )
Forum Post Dan, I don't think it has anything to do with Genopro. It has... By rboshuis ( Saturday, October 22, 2005 )
Forum Post [quote][b]rboshuis (10/22/2005)[/b][hr] a more extended version of the... By GenoProSupport ( Saturday, October 22, 2005 )
Forum Post I have another suggestion when referring to verbs. In spanish, and I... By erodriguezsaa ( Tuesday, March 7, 2006 )
Forum Post [quote][b]erodriguezsaa (3/7/2006)[/b][hr]I have another suggestion... By haep ( Wednesday, March 21, 2007 )
Forum Post Whenever there is a new version with a new skin, I have to open not... By maru-san ( Wednesday, May 2, 2007 )
Forum Post Have solved some of the grammar issues in german in the following way:... By maru-san ( Saturday, July 8, 2006 )
Forum Post Sounds good. [c]EndWith[/c] is definitely a must and the other... By Rjn ( Wednesday, August 31, 2005 )
Forum Post [quote][c]EndWith[/c] is definitely a must and the other criterias... By GenoProSupport ( Wednesday, August 31, 2005 )
Forum Post First of all I'll thank Dan for pm's and emails. I feel very motivated... By Rjn ( Wednesday, August 31, 2005 )
Forum Post [quote][b]Rjn[/b][hr]For example in Finnish there are several (14)... By GenoProSupport ( Wednesday, August 31, 2005 )
Forum Post Thank you for the prompt reply, and: Sorry, shouldn't have missed... By Anna ( Wednesday, August 31, 2005 )
Forum Post [quote][b]Anna[/b][hr]how do I change the format from the basik form A... By GenoProSupport ( Wednesday, August 31, 2005 )
Forum Post [quote][b]GenoProSupport[/b][hr]In the future, I am planning to... By Yehudad ( Wednesday, August 31, 2005 )
Forum Post [quote][b]Anna (8/31/2005)[/b][hr]Q: Where do I find (and edit) the... By GenoProSupport ( Wednesday, August 31, 2005 )


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

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