* GEDCOM spelling

Questions regarding use of any Version of Family Historian. Please ensure you have set your Version of Family Historian in your Profile
Post Reply
avatar
Mark1834
Megastar
Posts: 926
Joined: 27 Oct 2017 19:33
Family Historian: V7
Location: South Cheshire, UK

GEDCOM spelling

Post by Mark1834 » 13 Sep 2021 09:43

I'm making good progress with my FH/RM/Ancestry sync plugin, but it did throw up one irritating detail that I had not noticed up until now.

The correct description of the NATU tag is 'Naturalization' in all versions of GEDCOM. However, FH converts it to the alternative UK English spelling of 'Naturalisation' in its Standard Fact Set.

It's too late to ask CP to change it after all these years, and workarounds are not difficult, so we'll have to just live with it.
Mark Draper

User avatar
tatewise
Megastar
Posts: 22365
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: GEDCOM spelling

Post by tatewise » 13 Sep 2021 10:38

What is even more mysterious is that CP have used 'z' in most other cases, such as Customize Property Box, Focus Window > Customize View, Generic Source Formats window > Customize option, etc...

I guess the workaround you refer to is to use Tools > Fact Types... and Edit the definition to use naturalized instead of naturalised everywhere. Except that the Name field cannot be edited.
However, you can edit the C:\ProgramData\Calico Pie\Family Historian\Fact Types\Standard\Standard.fhf file and change the Name there so the next time FH opens even that uses Naturalized.
No harm befalls any GEDCOM files by making those changes!

I don't see why CP could not change it as the impact would be minimal.
It might affect some custom Query or Plugin that tests for the Fact Name 'Naturalisation' but that is unlikely!
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
LornaCraig
Megastar
Posts: 2245
Joined: 11 Jan 2005 17:36
Family Historian: V7
Location: Oxfordshire, UK

Re: GEDCOM spelling

Post by LornaCraig » 13 Sep 2021 10:47

It's also odd that the spelling is unaffected by changing Tools > Preferences > International > Display Language (menus, labels, etc) from English - United Kingdon to English - United States.
Lorna

avatar
Mark1834
Megastar
Posts: 926
Joined: 27 Oct 2017 19:33
Family Historian: V7
Location: South Cheshire, UK

Re: GEDCOM spelling

Post by Mark1834 » 13 Sep 2021 11:16

Curious... I’ll have a play and raise it with CP. They might as well know, even if all I get back is “noted”. I’ll need to put a workaround in the plugin code rather than rely on users changing the fact definition, but it’s only an extra line or two.
Mark Draper

User avatar
BillH
Megastar
Posts: 1708
Joined: 31 May 2010 03:40
Family Historian: V7
Location: Washington State, USA

Re: GEDCOM spelling

Post by BillH » 13 Sep 2021 16:09

Mark1834 wrote:
13 Sep 2021 09:43
The correct description of the NATU tag is 'Naturalization' in all versions of GEDCOM. However, FH converts it to the alternative UK English spelling of 'Naturalisation' in its Standard Fact Set.
I was just curious. Where are you referring to. In my list of Fact Types, Naturalization appears as follows:

image1.jpg
image1.jpg (53.68 KiB) Viewed 219 times

If this is where you were referring to, maybe it is keying off the Windows language setting?

Bill

avatar
Mark1834
Megastar
Posts: 926
Joined: 27 Oct 2017 19:33
Family Historian: V7
Location: South Cheshire, UK

Re: GEDCOM spelling

Post by Mark1834 » 13 Sep 2021 16:25

That is weird! Mine is definitely with an s, and I've checked several old backup folders as well (V6, V7 and V7 beta). They are all s :?...
Capture.PNG
Capture.PNG (27.18 KiB) Viewed 212 times
Mark Draper

User avatar
mjashby
Megastar
Posts: 610
Joined: 23 Oct 2004 10:45
Family Historian: V7
Location: Yorkshire

Re: GEDCOM spelling

Post by mjashby » 13 Sep 2021 16:52

Mine is also shown as Naturalisation, so I think the presentation is probably driven by the Windows Language & Keyboard settings. BillH will presumably have US settings.

Not sure, but I suspect the US 'z' variant hasn't been accepted into GB English in the same way that some other words have, e.g. all UK Government Documentation on the subject uses the traditional Naturalisation spelling. GEDCOM, of course, defaults to US English.

Mervyn
Last edited by mjashby on 13 Sep 2021 17:07, edited 1 time in total.

User avatar
fhtess65
Famous
Posts: 107
Joined: 15 Feb 2018 21:34
Family Historian: V7
Location: British Columbia, Canada
Contact:

Re: GEDCOM spelling

Post by fhtess65 » 13 Sep 2021 17:04

Mine is with an "s" as well - I have my language on my Win10 Pro laptop set to US...interesting... I deplore having to us US, but for some things it's just easier. As a Canadian with an English mum and Polish dad, my preference has always been for the UK spelling, which is fairly standard here in Canada.

T
Attachments
FactTypes_Sept2021.png
FactTypes_Sept2021.png (28.37 KiB) Viewed 194 times
---
Teresa Basińska Eckford
Librarian & family historian
http://writingmypast.wordpress.com

User avatar
tatewise
Megastar
Posts: 22365
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: GEDCOM spelling

Post by tatewise » 13 Sep 2021 17:06

Bill, can you check the definition. Is it possible you have edited the Label, which is what is shown in the Fact Types screen of your screenshot, unless you tick Show Hidden, whereupon it shows both Label and Name.

Mark, as a matter of interest, why is your plugin looking up the Name of the fact rather than its Tag which is always NATU. Avoid looking up the Label as the user can change that to anything.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

avatar
Mark1834
Megastar
Posts: 926
Joined: 27 Oct 2017 19:33
Family Historian: V7
Location: South Cheshire, UK

Re: GEDCOM spelling

Post by Mark1834 » 13 Sep 2021 17:38

RM does not create custom GEDCOM tags for user-defined Facts in the same way that FH does, either in its GEDCOM file or its internal database structure, so you have to use the name or abbreviation (= FH label) for retrieval. Including the name in an RM retrieval is straight forward, but not selecting on the name, due to their proprietary structure for all name fields. In other words, "SELECT Name,...." in the SQL is fine, but "WHERE Name = " is not.

Ideally, I wanted the same routine for both built-in and custom events, but I will have to accept a bit more complexity for added resilience.
Mark Draper

User avatar
tatewise
Megastar
Posts: 22365
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: GEDCOM spelling

Post by tatewise » 13 Sep 2021 17:53

OK, understood, but use the FH Name, which cannot be easily modified by the user.
It is the Name that is reliably associated with the Tag.

Don't use the FH Label, which can be easily edited by the user in the Fact Types definition.
Therefore, it may bear no relation to FH GEDCOM Tag for either standard or custom facts.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
BillH
Megastar
Posts: 1708
Joined: 31 May 2010 03:40
Family Historian: V7
Location: Washington State, USA

Re: GEDCOM spelling

Post by BillH » 13 Sep 2021 20:43

tatewise wrote:
13 Sep 2021 17:06
Bill, can you check the definition. Is it possible you have edited the Label, which is what is shown in the Fact Types screen of your screenshot, unless you tick Show Hidden, whereupon it shows both Label and Name.
You are right. The name is Naturalisation, but the label is Naturalization. I must have changed this a long time ago as I don't remember having done so.

Bill

Post Reply