Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please add support for custom name display formats #444

Open
syominsergey opened this issue May 22, 2024 · 4 comments
Open

Please add support for custom name display formats #444

syominsergey opened this issue May 22, 2024 · 4 comments

Comments

@syominsergey
Copy link

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: #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.

@andye2801
Copy link

When this is implemented would this allow us to change the display to show married names by default?

@DavidMStraub
Copy link
Member

No, I don't think so. Gramps treats married names as alternative names and Gramps Web uses the primary name everywhere, because otherwise it's difficult to determine which altnernative name to pick in which case.

@andye2801
Copy link

Is it possible to select which name is the primary name manually?

@DavidMStraub
Copy link
Member

Not right now. It's part of this feature request. But that one is simple to implement.

@DavidMStraub DavidMStraub removed the enhancement New feature or request label Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants