Jump to content
TNG Community
ormus7577

german calling names

Recommended Posts

ormus7577

I'm a new user to TNG and I'm from Germany.

We do have a so-called 'Rufname' (calling name), which is one of the names. For example:

Peter Thomas Ralf Wagner can have any of his first names as the calling name. It is common usage, that this name is underlined like Peter Thomas Ralf Wagner in any official documents. I would like to visualize this in TNG as well. I'm good enough with CSS so I can re-style the html links to be no longer underlined (I would probably change the background color of the links or mark them with an icon).

But how can I mark the calling name?`Obviously in a somewhat logical GEDCOM way... There is the Gedcom 5.5EL proposal which is supported by a number of german genealogy tools. Other solutions include marking the name with _Thomas_ or Thomas*. This is true for several other (mainly nordic) european countries as well.

Any ideas or solutions for that problem?

Share this post


Link to post
Share on other sites
Mike Goodstadt

How about a little PHP which highlights the selected word - it can work like this:

1. a selector box gives the options to highlight names number 1 to 6 (how many first names are theh typical maximum in your country?)

2. the PHP creates an array of the name string, chopping it up based on the spaces.

3. when displaying the name an extra span element with a css class 'rufname' is wrapped around the rufname.

I know it can be done - just don't have the time or PHP expertise to do it. I suspect it might take time to integrate completely into TNG and debug but may not that hard for someone at the level of Darrin...

All the best,

Mike

Share this post


Link to post
Share on other sites
ormus7577

Hi Mike,

Thanks for the input. I'm pretty sure you can enhance the .php to make it work. Actually I do know some php and could do it. But what I would prefer A LOT is a way to have it in an exchangeable data format (= gedcom). Otherwise that information would be lost whenever the data is exported.

Share this post


Link to post
Share on other sites
ormus7577

Ok, I did a little searching and think this is probably the route I'll take:

1.) Mark the call name with uppercase. I can't think of any uppercase real-life name, so I wouldn't restrict possible future data (and other genealogy tools in use). Example: Peter THOMAS Ralf Wagner

2.) Adjust TNG to parse the names and capitalize+underline any uppercase part, resulting in Peter Thomas Ralf Wagner, exactly what I want. I have to take care, that any non-html name mentioning (like page titles) is not underlined, only capitalized.

3.) Adjust the TNG stylesheets, links shouldn't be underlined anymore for easy call name recognition. I'll probably add a link icon at the end (like wikipedia does for external links). Gotta try that out.

I'll post my adjustments, maybe they are useful additions to the TNG core release.

Share this post


Link to post
Share on other sites
Mike Goodstadt

I can't think of any uppercase real-life name

The only major use of capitals / uppercase is for the identification of the family name within transliterated Asian names. Wikipedia talks about this and references notes from the CIA Factbook under Personal Names - Capitalization. As there is no ISO standard :) this provides a good enough definition of use:

The Factbook capitalizes the surname or family name of individuals for the convenience of our users who are faced with a world of different cultures and naming conventions. The need for capitalization, bold type, underlining, italics, or some other indicator of the individual's surname is apparent in the following examples: MAO Zedong, Fidel CASTRO Ruz, George W. BUSH, and TUNKU SALAHUDDIN Abdul Aziz Shah ibni Al-Marhum Sultan Hisammuddin Alam Shah. By knowing the surname, a short form without all capital letters can be used with confidence as in President Castro, Chairman Mao, President Bush, or Sultan Tunku Salahuddin. The same system of capitalization is extended to the names of leaders with surnames that are not commonly used such as Queen ELIZABETH II. For Vietnamese names, the given name is capitalized because officials are referred to by their given name rather than by their surname. For example, the president of Vietnam is Tran Duc LUONG. His surname is Tran, but he is referred to by his given name - President LUONG.

However I do not believe that this should hinder you - just add a note to your site stating what the capitals mean. It's your site and such formating is in the end metadata which assists the reader.

All the best,

Mike

Share this post


Link to post
Share on other sites
ormus7577

The user/reader won't actually see the uppercase name. My TNG adjustments will change THOMAS to Thomas for the browser. Only when handing out gedcom would anyone notice that workaround.

Share this post


Link to post
Share on other sites
ormus7577

Way easier than I thought! Adjusted my local TNG test installation, here's the result:

<a href="http://echopic.com/3m2g"><img src="http://echopic.com/3m2g.png" border="0" alt="Photo sharing and image hosting - EchoPic"></a>

Note that the name in the browser viewport is underlined, but the title is stripped of unwanted html tags. Only problem is, that there isn't one single place to adjust, but quite a few :-( This will result in a few manual steps when updating TNG. Unless of course Darrin can add it to the core as an feature!

Share this post


Link to post
Share on other sites
Mike Goodstadt

Glad you achieved what you wanted!

Just remember to note down what you did...:)

All the best,

Mike

Share this post


Link to post
Share on other sites
Ken Roy

Way easier than I thought! Adjusted my local TNG test installation, here's the result:

<a href="http://echopic.com/3m2g"><img src="http://echopic.com/3m2g.png" border="0" alt="Photo sharing and image hosting - EchoPic"></a>

Note that the name in the browser viewport is underlined, but the title is stripped of unwanted html tags. Only problem is, that there isn't one single place to adjust, but quite a few :-( This will result in a few manual steps when updating TNG. Unless of course Darrin can add it to the core as an feature!

You might want to consider coding your changes, if possible using a conditional include, like I have coded the Tooltip Mod While developing the mod, you do have to code it inline but once it is working, it is possible to take all self-contained code and put it in a separate file.

If you are using the same code for making adjustments in multiple places, this might be an approach that allows you to minimize changes on upgrades.

Share this post


Link to post
Share on other sites
theKiwi

Unless of course Darrin can add it to the core as an feature!

Only problem is that other people use UPPER CASE in names for other things, and they quite likely won't want their purpose co-opted to turn the name lowercase and underline it in the TNG displays

Roger

Share this post


Link to post
Share on other sites
ormus7577

Certainly not! Other people even mark the call name like Peter _Thomas_ Frank Wagner. And by no means would I suggest making this an default behavior! I would love to see it as an option though. Like a drop-down list in the configuration with possible values:

  • OFF (default)
  • Uppercase = call name
  • _ _ surround call name
  • trailing * marks call name

My solution doesn't interfere at all with existing installations, so I can't really see any reason to not add it to the core. Other than thinking it's not important enough. I can guarantee you though, that germans will love this!

Share this post


Link to post
Share on other sites
Radioman

Certainly not! Other people even mark the call name like Peter _Thomas_ Frank Wagner. And by no means would I suggest making this an default behavior! I would love to see it as an option though. Like a drop-down list in the configuration with possible values:

  • OFF (default)
  • Uppercase = call name
  • _ _ surround call name
  • trailing * marks call name
My solution doesn't interfere at all with existing installations, so I can't really see any reason to not add it to the core. Other than thinking it's not important enough. I can guarantee you though, that germans will love this!

People from Sweden would also be happy. Two of the most common used genealogy softwares in Sweden use the trailing* to show the call name. It's bad I don't have the knowledge to fix it in php now when the MOD for uppercase names allready is there on the WIKI.

Anyone care to mod the mod?

Share this post


Link to post
Share on other sites
Radioman

Any news on this?

It would be great to have this mod for the * trailing mark we use in scandinavia for call names.

Share this post


Link to post
Share on other sites
Frans utt

I use the nickname field. Not sure if that is ok....

Share this post


Link to post
Share on other sites
Hiraeth

A Nickname is specifically NOT a 'calling' name. It is name given to an individual that is not one of the names he/she was given. I have created a Custon Event (Attribute) that I used in this case. In English I call it 'Given Name Used' and use the tag _USED. You can see it is action at

http://www.katiandgraham.com/genealogy/get...p;tree=kegcTree

Try it out in German.

I use the nickname field. Not sure if that is ok....

Share this post


Link to post
Share on other sites
Radioman

A Nickname is specifically NOT a 'calling' name. It is name given to an individual that is not one of the names he/she was given. I have created a Custon Event (Attribute) that I used in this case. In English I call it 'Given Name Used' and use the tag _USED. You can see it is action at

http://www.katiandgraham.com/genealogy/get...p;tree=kegcTree

Try it out in German.

Nice Hiraeth

But If you allready have the * trailing mark on most of your 14000 individuals given names it's not an option.

Oh, if I only could do some PHP programming :(

Cheers // Ove

Share this post


Link to post
Share on other sites
Hiraeth

Nice Hiraeth

But If you allready have the * trailing mark on most of your 14000 individuals given names it's not an option.

Oh, if I only could do some PHP programming :(

Cheers // Ove

If you are interested in moving to the custom event solution, there may be a way to transform your suffixed names by some clever SQL. This would need to identify a first name ending in an asterisk, create the appropriate custom event using this name (minus asterisk) and, if required, remove the asterisk from the existing name. If this is possible, you just need to find a friendly SQL expert to help you out. Sorry, but I'm not one!

Share this post


Link to post
Share on other sites
Frans utt

A Nickname is specifically NOT a 'calling' name. It is name given to an individual that is not one of the names he/she was given. I have created a Custon Event (Attribute) that I used in this case. In English I call it 'Given Name Used' and use the tag _USED. You can see it is action at

http://www.katiandgraham.com/genealogy/get...p;tree=kegcTree

Try it out in German.

I like this very much!!! As indeed nickname is something else.

And just writing capitals won't work.

As I posted somewhere else:

My first names: Franciscus Joseph

calling name: Frans

nickname: Oetje

So indeed you seem to have a perfect solution! Maybe we can get this field standard in next versions.

Now, when there is a upgrade like now to V8. What do you need to do to preserve this field? Just change the tag and the data is ok? Oh, and how did you get the translations?

THANKS!!!!

Frans

Share this post


Link to post
Share on other sites
Hiraeth

Now, when there is a upgrade like now to V8. What do you need to do to preserve this field? Just change the tag and the data is ok? Oh, and how did you get the translations?

The solution involves creating a 'Custom Event' in TNG (Admin / Custom Event Types / Add New). However before I explain anything I need to know if you import your data from an external desktop genealogy programme OR do you manage all your data within TNG?

Share this post


Link to post
Share on other sites
Frans utt

The solution involves creating a 'Custom Event' in TNG (Admin / Custom Event Types / Add New). However before I explain anything I need to know if you import your data from an external desktop genealogy programme OR do you manage all your data within TNG?

Sorry for the late reply. I manage it all on TNG.

Frans

The solution involves creating a 'Custom Event' in TNG (Admin / Custom Event Types / Add New). However before I explain anything I need to know if you import your data from an external desktop genealogy programme OR do you manage all your data within TNG?

Sorry for the late reply. I manage it all on TNG.

Frans

Share this post


Link to post
Share on other sites
Hiraeth

Sorry for the late reply. I manage it all on TNG.

Frans

You need to create a 'Custom Event' in TNG (Admin / Custom Event Types / Add New).

First click on 'Help for this area'; here you can read about the various parameters you can configure.

The attached screen shots show what you should enter in the various boxes.

The tag I used was the one created by my desktop application (_USED). You may wish to choose a different tag, but take care that you do not choose one that is already in use. If you enable languages other than German, you can enter the display text for each as shown in the second attachment.

Make sure you click the 'Accept' radio button against 'Event Data:'.

Once you have created the new custom event. You can add it to an individual in Edit/Events and click 'Add New'. In the pop-up dialogue select the event type (_USED or whatever you have named it) from the drop-down list; enter the 'calling name' in the 'Detail' box; in this case it is not appropriate to add a date or place. Then save the event and the individual record.

If you have any problems, send me a message via the 'Contact Us' link on my website (see link below)

Share this post


Link to post
Share on other sites
Frans utt

You need to create a 'Custom Event' in TNG (Admin / Custom Event Types / Add New).

First click on 'Help for this area'; here you can read about the various parameters you can configure.

The attached screen shots show what you should enter in the various boxes.

The tag I used was the one created by my desktop application (_USED). You may wish to choose a different tag, but take care that you do not choose one that is already in use. If you enable languages other than German, you can enter the display text for each as shown in the second attachment.

Make sure you click the 'Accept' radio button against 'Event Data:'.

Once you have created the new custom event. You can add it to an individual in Edit/Events and click 'Add New'. In the pop-up dialogue select the event type (_USED or whatever you have named it) from the drop-down list; enter the 'calling name' in the 'Detail' box; in this case it is not appropriate to add a date or place. Then save the event and the individual record.

If you have any problems, send me a message via the 'Contact Us' link on my website (see link below)

Cooool!!! it works! thxs so much!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×