I installed VLC on Scientific Linux 6.9 using Nix because i don't have root rights on the machine. The problem is that the interface is in english and i'd like to change it to french.
When i launch vlc in the terminal, i got the following:
Code: Select all
(process:20697): Gtk-WARNING **: 14:11:12.562: Locale not supported by C library.
Using the fallback 'C' locale.
Code: Select all
[00007fd8a7933830] main libvlc debug: translation test: code is "C"
Code: Select all
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=fr_FR.UTF-8
LC_CTYPE="fr_FR.UTF-8"
LC_NUMERIC="fr_FR.UTF-8"
LC_TIME="fr_FR.UTF-8"
LC_COLLATE="fr_FR.UTF-8"
LC_MONETARY="fr_FR.UTF-8"
LC_MESSAGES="fr_FR.UTF-8"
LC_PAPER="fr_FR.UTF-8"
LC_NAME="fr_FR.UTF-8"
LC_ADDRESS="fr_FR.UTF-8"
LC_TELEPHONE="fr_FR.UTF-8"
LC_MEASUREMENT="fr_FR.UTF-8"
LC_IDENTIFICATION="fr_FR.UTF-8"
LC_ALL=fr_FR.UTF-8
Using vlc --menu-language=fr (or french, or français) didn't help.
I can't move this file (vlc.mo) to /usr/share/locale because i have no root rights. Is there a way to tell VLC where to look for translation?
I put this file in ~/.local/share/locale but this didn't help either.
I have other software installed with Nix and they do look for their translation in the installation folder which does not seem to be the case for VLC.
Thanks for your help.