Changes

From Gramps

Howto:Change the language of reports

7 bytes added, 10:38, 10 August 2009
Run GRAMPS in a different language: Add command to check installed locales, remove "LANGUAGE=" lines as they don't seem to matter (anymore?).
This can be done by typing <code>gramps</code>, as GRAMPS typically is installed in the directory <code>/usr/bin</code>. You can also start GRAMPS with <code>/usr/bin/gramps</code>, although this might be different on other distributions.
This command calls up GRAMPS with the default locale setting of your PC, that is, the language in which you installed your linux OS. If other locales are installed on your system, calling up GRAMPS in this language can be done. EgTo check if there are other installed locales, use: locale -a For example, if the locale ''nl'', ''nl_BE'' is installed with encoding ''nl_BE.UTF-8'', you can start it with: LANGUAGE=nl_BE:nl
LANG=nl_BE.UTF-8
/usr/bin/gramps
Once you get the locale working and to make things handy going forward, you can create an alias. Open the file <code>.bashrc</code> (this file is located in your home directory) in a text editor. At the bottom of the file add the following:
alias gramps_nl=' LANGUAGE=nl_BE:nl; LANG=nl_BE.UTF-8; /usr/bin/gramps'
You will need to make the alias command unique, so in this instance I have used <code>gramps_nl</code>. Now save the file. The UNIX terminal will need restarted for the new setting to take effect. Enter the alias command <code>gramps_nl</code> to run gramps in another locale. Multiple alias commands can be setup for multiple locales.
*Description: <code>GRAMPS NL Locale</code>
*Comment: <code>Manage genealogical information, perform genealogical research and analysis</code>
*Command: <code>LANGUAGE=nl_BE:nl; LANG=nl_BE.UTF-8; /usr/bin/gramps</code>
Leave all other options as default. To add the GRAMPS icon, click on the icon beside Name and Description fields
4
edits

Navigation menu