This Help forum is for issues relates to the latest release (1.7.9). For issues related to beta or github version please use their own Help forum.
Before asking for help please read "How to request help" by clicking on that tab above here."

TOPIC: Top 10 surnames block

Top 10 surnames block 5 days 4 hours ago #1

  • PKlimis
  • PKlimis's Avatar
  • Offline
  • New
  • Posts: 23
Hello

In Greek language, most of the times the surname of the male is a little bit different from the female, in the same family.

For example : Panagos (male) - Panagou (female)

Because of this particularity, the block "Top 10 surname" shows wrong data.

For example :

Panagos 30
Panagou 35

but the correct one is : Panagos-Panagou 65

Any suggestion, how to work this out?

Panagiotis
The administrator has disabled public write access.

Top 10 surnames block 5 days 3 hours ago #2

  • bertkoor
  • bertkoor's Avatar
  • Offline
  • Gold
  • Greetings from Utrecht, Holland
  • Posts: 1372
There are some other languages with similar rules, already implemented in webtrees.

If you can specify what these rules exactly are, maybe it can be implemented in a future version.
Best to raise this as an issue (or feature request) in GitHub: github.com/fisharebest/webtrees/issues
stamboom.BertKoor.nl runs on webtrees v1.7.9
Last Edit: 5 days 3 hours ago by bertkoor.
The administrator has disabled public write access.

Top 10 surnames block 5 days 2 hours ago #3

  • PKlimis
  • PKlimis's Avatar
  • Offline
  • New
  • Posts: 23
The implementation for the other languages is hard-coded or there is somewhere a setting section for this kind of rules?
The administrator has disabled public write access.

Top 10 surnames block 5 days 2 hours ago #4

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 10262
There are two things here.

Surnames have an "inflected" form (male, female, child, parent, etc.) and a "root" form.

You put the inflected form in the NAME field, and the root form in SURN field. e.g.

1 NAME Agathe /Panagou/
2 GIVN Agathe
2 SURN /Panagos/

In webtrees, if you click the "edit" icon at the end of the name, you can update SURN and NAME separately.

If you do this, webtrees will group/sort/count the surnames correctly.

The second issue is that webtrees can create the inflected surnames automatically. For example, if you add a daughter to "Adrian /Panagos/", webtrees will create an indivdiual with the surname "Panagou".

> The implementation for the other languages is hard-coded

Yes - it is hard coded. You can see the logic for various languages here:
github.com/fisharebest/webtrees/tree/mas...app/SurnameTradition

If you explain the rules to me, I can create the code for Greek.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.

Top 10 surnames block 4 days 20 hours ago #5

  • PKlimis
  • PKlimis's Avatar
  • Offline
  • New
  • Posts: 23
Well, there are no specific rules to give you, like spesific endings in the names based on the individual sex or something llike this...

I checked the "infected" form and it works but I have to edit 1700+ individuals...

I think that a add-on solution will be more efficient.
The administrator has disabled public write access.

Top 10 surnames block 4 days 11 hours ago #6

  • norwegian_sardines
  • norwegian_sardines's Avatar
  • Offline
  • Gold
  • Posts: 1462
For documentation purposes, future readers of this thread. This concept is outlined here.
Ken
Last Edit: 4 days 11 hours ago by norwegian_sardines.
The administrator has disabled public write access.
Powered by Kunena Forum