View Issue Details

IDProjectCategoryView StatusLast Update
0009813GrampsOtherpublic2016-12-09 19:12
ReporterNick_H Assigned ToNick_H  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.2.4 
Target Version4.2.5Fixed in Version4.2.5 
Summary0009813: Language codes should be allowed on all place names
DescriptionAt present an empty language code is used to indicate the endonym. This causes problems when language codes are assigned to all place names.

If the language code specified in the preferences is not found, an entry with an empty code is used. A '?' warning occurs if there is no name with an empty language code.

Instead, the first name could be used as the default. This would ensure that there was always a default name. It would also work better for multi-lingual places with multiple endonyms.
TagsNo tags attached.

Activities

Nick_H

Nick_H

2016-11-25 18:04

administrator  

location.py (4,924 bytes)
Nick_H

Nick_H

2016-11-25 18:06

administrator  

bug9813.patch (1,012 bytes)
Nick_H

Nick_H

2016-11-25 18:15

administrator   ~0049955

Attached a patch for the gramps/gen/utils/location.py file.
romjerome

romjerome

2016-11-26 08:32

administrator   ~0049961

Last edited: 2016-11-26 11:44

View 3 revisions

Thank you, I will test it as I suppose there is such case on my database.
http://www.rue89strasbourg.com/wp-content/uploads/2015/04/bretzel-514x342.jpg

1435: Zum Bretstelleneck.
1786: Au coin des Craquelins.
1793: Au coin de l' Abreuvoir.
1817: Bretstellen Eck.
1856: impasse des Craquelins.
1872: Am Brettstelleneck.
1918: impasse des Craquelins;
1940: Am Brettstelleneck.
1945: impasse des Craquelins.

http://www.archi-wiki.org/adresse-_impasse_des_craquelins__krutenau__strasbourg-2588.html

Time named places are right according to a language for one country
http://www.roelly.org/~genealogie/entraide/villagesad.htm

Got some problems with endonym! Like "Am Brettstelle Eck" on above sample.
http://freepages.genealogy.rootsweb.ancestry.com/~dettweiler/genloc/ortsnam.htm

romjerome

romjerome

2016-11-29 16:24

administrator   ~0050033

It seems that I already filled something on most cases into my data...
Need to create a new place for the test.

"Enable automatic title generation, and then assign language codes where
they are empty." ~ Nick H.
Nick_H

Nick_H

2016-12-09 19:12

administrator   ~0050217

Fixed in gramps42 [3a58492] and master [772265c].

Issue History

Date Modified Username Field Change
2016-11-25 18:02 Nick_H New Issue
2016-11-25 18:02 Nick_H Status new => assigned
2016-11-25 18:02 Nick_H Assigned To => Nick_H
2016-11-25 18:04 Nick_H File Added: location.py
2016-11-25 18:06 Nick_H File Added: bug9813.patch
2016-11-25 18:15 Nick_H Note Added: 0049955
2016-11-26 08:32 romjerome Note Added: 0049961
2016-11-26 08:39 romjerome Note Edited: 0049961 View Revisions
2016-11-26 11:44 romjerome Note Edited: 0049961 View Revisions
2016-11-29 16:24 romjerome Note Added: 0050033
2016-12-09 19:12 Nick_H Note Added: 0050217
2016-12-09 19:12 Nick_H Status assigned => resolved
2016-12-09 19:12 Nick_H Fixed in Version => 4.2.5
2016-12-09 19:12 Nick_H Resolution open => fixed