View previous topic :: View next topic |
Author |
Message |
Adrien.D Apprentice
Joined: 18 Jan 2015 Posts: 157
|
Posted: Sun Jul 29, 2018 7:15 am Post subject: [Solved] How to translate pcmanfm (x11-misc/pcmanfm-1.2.5) |
|
|
Hi team gentoo,
I installed x11-misc/pcmanfm-1.2.5::gentoo on my laptop, and it is in english language.
I am a french user.
In the ebuild, i see a locale : PLOCALES=".. .. .. .. fr .. .. .."
If i try to reinstall pcmanfm with
Code: | PLOCALES="fr" emerge -av pcmanfm |
pcmanfm is already in english.
How can i change pcmanfm language ?
Thanks _________________ Desktop : MSI Gaming Pro X470 - AMD Ryzen 5 2600X - RX 560 - OpenRC GNOME - gentoo-sources-6.1 LTS
Server : Acer Barebone - Intel i3-8100T - OpenRC CLI - gentoo-sources-5.4 LTS
VMs : A lot of VMS to practice Gentoo of course (proxmox, virtualbox)
Last edited by Adrien.D on Sun Jul 29, 2018 9:17 am; edited 1 time in total |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30894 Location: here
|
Posted: Sun Jul 29, 2018 7:49 am Post subject: |
|
|
According with ebuild
Code: | export LINGUAS="${LINGUAS:-${PLOCALE_BACKUP}}" |
you should use the variable LINGUAS. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Adrien.D Apprentice
Joined: 18 Jan 2015 Posts: 157
|
Posted: Sun Jul 29, 2018 8:15 am Post subject: |
|
|
Hi,
thanks for your answer.
Code: | export LINGUAS="${LINGUAS:-${PLOCALE_BACKUP}}"
emerge -av pcmanfm |
And it's always in english
I try
Code: | LINGUAS="${LINGUAS:-${PLOCALE_BACKUP}}" emerge -v pcmanfm |
Same result
Code: | 7 [10:13:24] root@superlinux: /home/adrien # equery u x11-misc/pcmanfm-1.2.5::gentoo
[ Legend : U - final flag setting for installation]
[ : I - package is installed with flag ]
[ Colors : set, unset ]
* Found these USE flags for x11-misc/pcmanfm-1.2.5:
U I
- - debug : Enable extra debug codepaths, like asserts and extra output. If
you want to get meaningful backtraces see
https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces |
If linguas worked, i think i was an USE lunguas_XX where XX is the locale ? _________________ Desktop : MSI Gaming Pro X470 - AMD Ryzen 5 2600X - RX 560 - OpenRC GNOME - gentoo-sources-6.1 LTS
Server : Acer Barebone - Intel i3-8100T - OpenRC CLI - gentoo-sources-5.4 LTS
VMs : A lot of VMS to practice Gentoo of course (proxmox, virtualbox) |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30894 Location: here
|
Posted: Sun Jul 29, 2018 8:22 am Post subject: |
|
|
Sorry the code I posted, contained in ebuild, is only for show to use LINGUAS.
Correct way is
Code: | # LINGUAS="fr" emerge -1av pcmanfm |
but if you want that this change is permanently next update add in make.conf LINGUAS="fr" _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Adrien.D Apprentice
Joined: 18 Jan 2015 Posts: 157
|
Posted: Sun Jul 29, 2018 9:01 am Post subject: |
|
|
Good !
It works !
I know i put the LINGUAS variable in make.conf. I use in command line to test without edit config files.
I believe LINGUAS was obsolete ... ? _________________ Desktop : MSI Gaming Pro X470 - AMD Ryzen 5 2600X - RX 560 - OpenRC GNOME - gentoo-sources-6.1 LTS
Server : Acer Barebone - Intel i3-8100T - OpenRC CLI - gentoo-sources-5.4 LTS
VMs : A lot of VMS to practice Gentoo of course (proxmox, virtualbox) |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30894 Location: here
|
Posted: Sun Jul 29, 2018 9:10 am Post subject: |
|
|
Adrien.D wrote: | I believe LINGUAS was obsolete ... ? |
It's obsolete (L10N is the new use_exapnd) sadly some package yet require it. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Adrien.D Apprentice
Joined: 18 Jan 2015 Posts: 157
|
Posted: Sun Jul 29, 2018 9:17 am Post subject: |
|
|
OK thanks for explanations _________________ Desktop : MSI Gaming Pro X470 - AMD Ryzen 5 2600X - RX 560 - OpenRC GNOME - gentoo-sources-6.1 LTS
Server : Acer Barebone - Intel i3-8100T - OpenRC CLI - gentoo-sources-5.4 LTS
VMs : A lot of VMS to practice Gentoo of course (proxmox, virtualbox) |
|
Back to top |
|
|
|