Solved Change Xfce language interface

hi

I'm new in FreeBSD and try changing xfce4 in French language by following the post below
https://forums.freebsd.org/threads/xfce-localization-and-clock.48700/
but I don't succeed. I don't understand really what file to configure.

Need some help

Firstly, Xorg must be functional, see dedicated post from the Graphics team.

Then x11-wm/xfce4-session provides xinitrc script. It's this file you must changed.

cp /usr/local/etc/xdg/xfce4/xinitrc ~/.xinitrc

Choose your favourite encoding, e.g., for French it's:
Code:
locale -a | grep fr_FR
fr_FR.ISO8859-1
fr_FR.ISO8859-15
fr_FR.UTF-8
Personally I use fr_FR.ISO8859-15, add these lines at first of file (after shebang)
Code:
#!/bin/sh

export LANG="fr_FR.ISO8859-15"
export LC_CTYPE="fr_FR.ISO8859-15"

[...]
You can also define another variable, like G_FILENAME_ENCODING.

.xinitrc is enough with x11/slim, don't use x11/xdm neither x11/gdm.

After that, Xfce will be in French :)
 
Back
Top