This is my first post here, but I am a long-time user of Gramps, mainly on Windows. However, I am now trying to leave Windows behind and migrating to Ubuntu as best I can.
I have always operated my OSes in UK English, but I have a need to run Gramps in Danish too. In Windows I could do this with a shortcut containing
%comspec% /c set LANG=da_DK.UTF-8 && start grampsw.exe
and in Ubuntu 24.04 I have tried with
/usr/bin/flatpak run --branch=stable --arch=x86_64 --env=LANGUAGE="da_DK:da" --command=gramps --file-forwarding org.gramps_project.Gramps @@ %F @@
This partly works, but there are two problems. The first one is that as soon as Gramps starts it displays a message (in Danish) along the lines
(my translation):
âGramps found an incomplete GTK installation. GTK translation for the active language (da) is not found. Gramps continues anyway. The GUI will most probably fail, especially for RTL language!â
When I close the message Gramps continues, and I see everything in Danish: the menu at the top, the bar at the left, the standard filters at the right, most of the headings of the add-ins in the bottom bar and the status bar. So far so good, but the warning message worries me.
The second problem is that the sorting order is not Danish. The special letters ĂŠ, Ăž and Ă„ belong at the end of the ASCII alphabet but are sorted amongst the aâs and oâs. Also, the spell checking appears to be English instead of Danish, but the latter for me is less of a problem than the sorting order. This problem may well be related to the GTK problem above, but I donât know sufficient about these things; I am indeed an inexperienced Ubuntu user.
This is what I have done/tried so far:
-
I have installed the Danish language support in Ubuntu with the Settings application, and I have run Ubuntu in Danish and tested the sorting order in the Files (Nautilus) application. This all appeared OK.
-
When I run Gramps from the standard link installed by flatpak in the Danish version of Ubuntu the menu is in a mixture of English and Danish. The left and right panels as well as the titles in the bottom bar are in Danish, but sorting order and spell checker is still English. There is no GTK warning.
-
When I start Gramps in the Danish version of Ubuntu using the modified flatpak command with
LANGUAGE="da_DK:da"
I get the same result as above except now the GTK warning appears. -
Back in the UK English version of Ubuntu I have tried using
LANGUAGE=da_DK.UTF-8
in the flatpak command, which made no difference. -
I have tried using
LANG=
in place ofLANGUAGE=
in the flatpak command, which made Gramps run in English.
GRAMPS: 5.2.3
Python: 3.11.9
BSDDB: not found
sqlite: 3.42.0 (2.6.0)
LANG: da_DK.UTF-8
OS: Linux
Distribution: 6.8.0-45-generic
OS Name: Ubuntu 24.04.1 LTS
Firmware Version: 1.5.0
OS Type: 64-bit
GNOME Version: 46
Windowing System: Wayland
Kernel Version: Linux 6.8.0-45-generic
Languages installed are English for United Kingdom, Australia, Canada and United States, as well as Danish.
Thanks in advance for any and all help to get Gramps running also in Danish.