gramps-project / gramps-web

Frontend for Gramps Web
https://www.grampsweb.org
GNU Affero General Public License v3.0
336 stars 48 forks source link

Please add support for custom name display formats #444

Open syominsergey opened 1 month ago

syominsergey commented 1 month ago

Hi!

In my culture preferrable order of names looks like this:

<given name> <patronymic surname> <surname>

Or another order also possible:

<surname> <given name> <patronymic surname>

But in GrampsWeb another order of names is widely used:

<given name> <surname> <patronymic surname>

Or another possible order of such set of names in GrampsWeb:

<surname> <patronymic surname> <given name>

All these order existing in GrampsWeb are looks very strange and unusual in my culture.

Lets look at some examples.

List of persons (https://<domain>/people): image

Info about concrete person (https://<domain>/person/<person_id>): image

Ancestor tree and other types of trees (https://<domain>/tree): image

Maybe some other views exists with same order of names unusual for my culture.

Desktop Gramps application has elegant way to solve this problem. It has setting for for custom name display format: https://gramps-project.org/wiki/index.php/Gramps_5.2_Wiki_Manual_-_Settings#Display_Name_Editor

I can set it to desired value and after it order of names looks natively to my culture in all views I have found in desktop app. For example some screenshots from Desktop Gramps 5.2.2 after setting of custom name display format (sorry for screenshots from desktop app - they are in translation to my language, I can't find howto change translation to English in desktop app).

List of persons: image

Info about concrete person: image

Tree: image

Please, implement ability to change default order of names in all views in GrampsWeb according to setting of custom name display format in GrampsWeb, just like works in desktop Gramps.

P.s.

Version of GrampsWeb where I created screenshots:

Gramps 5.2.2
Gramps Web API 2.3.0
Gramps Web Frontend 24.5.0
Gramps QL 0.3.0
locale: en
multi-tree: false
task queue: false

P.p.s. I have discussed this feature request at gramps discourse group. Also I found another feature request is very close to current: https://github.com/gramps-project/gramps-web/issues/411. It is about ability to change names order from Surname, FirstName to FirstName Surname in tree, graph & Chart view. I think, it is a part of current more generic feature request. So, after discussion in gramps discourse group I decided to open this new feature request.