# Setting Gramps language to NL while OS language is EN

**URL:** <https://gramps.discourse.group/t/setting-gramps-language-to-nl-while-os-language-is-en/6313>\
**Category:** Help\
**Created:** [October 24, 2024, 1:01pm UTC](https://gramps.discourse.group/t/setting-gramps-language-to-nl-while-os-language-is-en/6313 "2024-10-24T13:01:58Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lemodile](https://avatars.discourse-cdn.com/v4/letter/l/dec6dc/32.png) [@Lemodile](https://gramps.discourse.group/u/Lemodile)\
**Post date:** [October 24, 2024, 1:01pm UTC](https://gramps.discourse.group/t/setting-gramps-language-to-nl-while-os-language-is-en/6313/1 "2024-10-24T13:01:58Z")

</div>

Ubuntu 22.04 LTS (Pop!\_OS to be precise, set to English and it should stay that way)  
Gramps 5.2.3  
Related: [Problem running Gramps in Danish on English OS - #14 by kmikkels](https://gramps.discourse.group/t/problem-running-gramps-in-danish-on-english-os/6081/14)

New to Linux so my question may be a bit basic. I want Gramps to always start using Dutch language for the UI, while keeping Linux in English, from the Pop\_os! launcher.

What I’ve managed to do so far:

- I’ve been able to install the Gnome language pack for NL.
- I can set Gramps to Dutch using _LANGUAGE=nl\_NL.UTF-8 gramps_, however when running Gramps from the Pop!\_os launcher it will always be in English.

Gramps doesn’t appear to have a preference/option to set the UI language.

Any tips on how to take the last step? Thanks in advance.

---

<div class="post-metadata">

**Author:** ![ennoborg](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/ennoborg/32/4659_2.png) [@ennoborg](https://gramps.discourse.group/u/ennoborg)\
**Post date:** [October 24, 2024, 2:15pm UTC](https://gramps.discourse.group/t/setting-gramps-language-to-nl-while-os-language-is-en/6313/2 "2024-10-24T14:15:14Z")

</div>

I don’t know your specific OS, or rather its launcher, but I bet that there must be a way to create a new entry in that, or a shortcut on the desktop, that contains the command that you need, like _LANGUAGE=nl\_NL.UTF-8 gramps_

I can do that on Linux Mint, both in the start menu and on the desktop, and the OS is smart enough to understand that, because gramps is in the path.

---

<div class="post-metadata">

**Author:** ![mo.eu](https://avatars.discourse-cdn.com/v4/letter/m/e95f7d/32.png) [@mo.eu](https://gramps.discourse.group/u/mo.eu)\
**Post date:** [October 24, 2024, 2:42pm UTC](https://gramps.discourse.group/t/setting-gramps-language-to-nl-while-os-language-is-en/6313/3 "2024-10-24T14:42:01Z")

</div>

Hello Lemodile,

I had a similar problem with Danish on my English UK Ubuntu 24.04 system. You mention that your system is related to Ubuntu, so you may be able to use my experience.

I have solved my problem for Danish by creating a copy of the standard org.gramps\_project.Gramps.desktop (from /usr/share/applications) that is used to start Gramps and putting it in home//.local/share/applications. I then modified this copy, in particular I changed the Exec= line to

Exec=env LANG=da\_DK.UTF-8 env LANGUAGE=dk\_DK:da env LC\_TIME=da\_DK.UTF-8 gramps %F

I also changed the name in the Name[da]= and Name[en\_GB]= lines to GrampsDK. Finally I changed the filename of the copied and modified file to org.gramps\_project.GrampsDK.desktop.

That seems to have done the trick for me. I now have two icons to start Gramps: one called Gramps, which runs Gramps in English, and one called GrampsDK, which runs Gramps in Danish.

I should note that I am not using the flatpak version of Gramps.

HTH

---

<div class="post-metadata">

**Author:** ![Lemodile](https://avatars.discourse-cdn.com/v4/letter/l/dec6dc/32.png) [@Lemodile](https://gramps.discourse.group/u/Lemodile)\
**Post date:** [October 24, 2024, 3:38pm UTC](https://gramps.discourse.group/t/setting-gramps-language-to-nl-while-os-language-is-en/6313/4 "2024-10-24T15:38:55Z")

</div>

Thanks a lot, this seems very promising. I’ll let you know whether I get it to work.

---

<div class="post-metadata">

**Author:** ![ennoborg](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/ennoborg/32/4659_2.png) [@ennoborg](https://gramps.discourse.group/u/ennoborg)\
**Post date:** [October 24, 2024, 3:46pm UTC](https://gramps.discourse.group/t/setting-gramps-language-to-nl-while-os-language-is-en/6313/5 "2024-10-24T15:46:55Z")

</div>

If the short command works in the terminal, it should be enough for shortcuts too, but there is one other thing that you may need, and that’s the Gnome language pack for Dutch.

The reason that you may need that is that Gramps has its own translations for all text that are specific to Gramps or genealogy, but relies on Gnome for standard computer terms.

When you start Gramps in terminal, it will inform you about missing languages, and the text that you see should let you know what it is. Some add-ons may not have translations, and those are not covered by the Gnome language pack.

---

<div class="post-metadata">

**Author:** ![Lemodile](https://avatars.discourse-cdn.com/v4/letter/l/dec6dc/32.png) [@Lemodile](https://gramps.discourse.group/u/Lemodile)\
**Post date:** [October 24, 2024, 6:10pm UTC](https://gramps.discourse.group/t/setting-gramps-language-to-nl-while-os-language-is-en/6313/6 "2024-10-24T18:10:42Z")

</div>

Thanks, the changes you proposed to the .desktop file worked as intended. I only used nl\_NL instead.

---

<div class="post-metadata">

**Author:** ![mo.eu](https://avatars.discourse-cdn.com/v4/letter/m/e95f7d/32.png) [@mo.eu](https://gramps.discourse.group/u/mo.eu)\
**Post date:** [October 24, 2024, 6:15pm UTC](https://gramps.discourse.group/t/setting-gramps-language-to-nl-while-os-language-is-en/6313/7 "2024-10-24T18:15:03Z")

</div>

Glad you could solve the problem

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/gramps/original/1X/2ac1e712b7adf612e31ca08a55419f4cf37c0158.png) [@system](https://gramps.discourse.group/u/system)\
**Post date:** [November 23, 2024, 6:15pm UTC](https://gramps.discourse.group/t/setting-gramps-language-to-nl-while-os-language-is-en/6313/8 "2024-11-23T18:15:34Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
