-
Notifications
You must be signed in to change notification settings - Fork 1
Description
It's not an urgent issue but it doesn't work as nicely when run with breton locale instead of french
Ma locale:
$ locale
LANG=br_FR.UTF-8
LC_CTYPE=br_FR.UTF-8
LC_NUMERIC=br_FR.UTF-8
LC_TIME=br_FR.UTF-8
LC_COLLATE=br_FR.UTF-8
LC_MONETARY=br_FR.UTF-8
LC_MESSAGES=br_FR.UTF-8
LC_PAPER=br_FR.UTF-8
LC_NAME=br_FR.UTF-8
LC_ADDRESS=br_FR.UTF-8
LC_TELEPHONE=br_FR.UTF-8
LC_MEASUREMENT=br_FR.UTF-8
LC_IDENTIFICATION=br_FR.UTF-8
LC_ALL=
$ cat ~/.i18n.fr
LANGUAGE=fr:fr_FR:fr
LC_NUMERIC=fr_FR.UTF-8
LC_PAPER=fr_FR.UTF-8
LC_TIME=fr_FR.UTF-8
LANG=fr_FR.UTF-8
LC_MEASUREMENT=fr_FR.UTF-8
LC_MESSAGES=fr_FR.UTF-8
LC_CTYPE=fr_FR.UTF-8
LC_TELEPHONE=fr_FR.UTF-8
LC_ADDRESS=fr_FR.UTF-8
LC_NAME=fr_FR.UTF-8
LC_IDENTIFICATION=fr_FR.UTF-8
LC_MONETARY=fr_FR.UTF-8
LC_COLLATE=fr_FR.UTF-8
Depending of choosing "fr" or "br", when I run "(. ~/.i18n.[bf]r ; ./GeneanetForGramps.py -v -v -v -a -s -l 2 -g ~/.gramps/grampsdb/65b38d3a/ 'https://gw.geneanet.org/nlegrand?lang=fr&pz=raymond+jean+louis&nz=le+grand&p=christophe&n=coliou' -f 2>&1|tee -a LOG.Geneanet2b4force3br)"
It get the dates with "fr" but not with "br:
Extract of diff output :
@@ -42,46 +49,54 @@
Parent name: Marie Yves (https://gw.geneanet.org/nlegrand?lang=fr&pz=raymond+jean+louis&nz=le+grand&p=marie&n=yves)
from_gramps1
-Calling from_gramps with gid: I0000
-Now gid is: I0000
+Appel de from_gramps avec le gid: I0000
+Le gid est maintenant: I0000
Existing Gramps Person: I0000
DEBUG: Looking after I0444
@@ -42,46 +49,54 @@
Parent name: Marie Yves (https://gw.geneanet.org/nlegrand?lang=fr&pz=raymond+jean+louis&nz=le+grand&p=marie&n=yves)
from_gramps1
-Calling from_gramps with gid: I0000
-Now gid is: I0000
+Appel de from_gramps avec le gid: I0000
+Le gid est maintenant: I0000
Existing Gramps Person: I0000
DEBUG: Looking after I0444
-Returned date: 1735-12-01
-Returned date: 1774-01-15
+Date retournée1735-12-01
+Date retournée1774-01-15
DEBUG: firstname: Christophe vs g_firstname: Christophe
DEBUG: lastname: Coliou vs g_lastname: Coliou
-DEBUG: bd: 1735-12-01 vs g_bd: None
-DEBUG: dd: 1774-01-15 vs g_dd: None
-Create new Gramps Person: I0000 (Christophe Coliou)
-Gender: U
-===> Gramps Name of I0000:
+DEBUG: bd: 1735-12-01 vs g_bd: 1735-12-01
+DEBUG: dd: 1774-01-15 vs g_dd: 1774-01-15
+Found a Gramps Person: Christophe Coliou (I0444)
+Genre : M
+===> Gramps Name of I0444: Christophe Coliou
BD1
->> BD2 None
-No Birth date
-No Death date
+Date retournée1735-12-01
+>> BD2 1735-12-01
+Naissance : 1735-12-01
+Date retournée1774-01-15
+Décès : 1774-01-15
Initialize Person at level 1
Initialize Person at level 1
DEBUG: firstname: Christophe vs g_firstname: Christophe
DEBUG: lastname: Coliou vs g_lastname: Coliou
-DEBUG: bd: 1735-12-01 vs g_bd: None
-DEBUG: dd: 1774-01-15 vs g_dd: None
-Create new Gramps Person: I0000 (Christophe Coliou)
-Gender: U
-===> Gramps Name of I0000:
+DEBUG: bd: 1735-12-01 vs g_bd: 1735-12-01
+DEBUG: dd: 1774-01-15 vs g_dd: 1774-01-15
+Found a Gramps Person: Christophe Coliou (I0444)
+Genre : M
+===> Gramps Name of I0444: Christophe Coliou
BD1
->> BD2 None
-No Birth date
-No Death date
+Date retournée1735-12-01
+>> BD2 1735-12-01
+Naissance : 1735-12-01
+Date retournée1774-01-15
+Décès : 1774-01-15
Initialize Person at level 1
Initialize Person at level 1