Web based family history software

Question Experimental relationship code works

  • WGroleau
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
14 years 5 months ago #1 by WGroleau
Experimental relationship code works was created by WGroleau
Or at least it certainly worked on “great-uncle's wife's first cousin once removed descending's wife's mother”

I suppose one might want “great-uncle's wife's first cousin once removed descending's mother-in-law” but I think it’s pretty good as is.

--
Wes Groleau
UniGen.us/

Please Log in or Create an account to join the conversation.

  • fisharebest
  • Away
  • Administrator
  • Administrator
More
14 years 5 months ago #2 by fisharebest
Replied by fisharebest on topic Re: Experimental relationship code works
It works by splitting the relationship path at each wife/husb/spouse, and translating each part separately. e.g.

[part one] spouse [part two] spouse [part thre] ....

So, you'll never get the mother-in-law link at the end.

It seems to work OK in English. Other languages don't have the simple possessive forms (X's Y's Z), so translate this as "great-uncle -> wife -> first cousin once removed descending -> wife -> mother". Not quite as pretty.

I'm going to leave it for a while, to get some feedback from other languages before considering any changes.

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

  • mlocati
  • Visitor
  • Visitor
14 years 5 months ago #3 by mlocati
Replied by mlocati on topic Re: Experimental relationship code works
For Italian it's as good as English...

Please Log in or Create an account to join the conversation.

More
14 years 5 months ago #4 by lexoulu
Replied by lexoulu on topic Re:Experimental relationship code works
For Finnish I'll have to use the arrows '->'.
Adding 's to words works for English, but not for Finnish.

openSUSE 12.1, Apache 2.2, PHP 5.3, MySQL 5.5

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum