Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] How to translate pcmanfm (x11-misc/pcmanfm-1.2.5)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Adrien.D
Apprentice
Apprentice


Joined: 18 Jan 2015
Posts: 155

PostPosted: Sun Jul 29, 2018 7:15 am    Post subject: [Solved] How to translate pcmanfm (x11-misc/pcmanfm-1.2.5) Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30885
Location: here

PostPosted: Sun Jul 29, 2018 7:49 am    Post subject: Reply with quote

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
View user's profile Send private message
Adrien.D
Apprentice
Apprentice


Joined: 18 Jan 2015
Posts: 155

PostPosted: Sun Jul 29, 2018 8:15 am    Post subject: Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30885
Location: here

PostPosted: Sun Jul 29, 2018 8:22 am    Post subject: Reply with quote

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
View user's profile Send private message
Adrien.D
Apprentice
Apprentice


Joined: 18 Jan 2015
Posts: 155

PostPosted: Sun Jul 29, 2018 9:01 am    Post subject: Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30885
Location: here

PostPosted: Sun Jul 29, 2018 9:10 am    Post subject: Reply with quote

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
View user's profile Send private message
Adrien.D
Apprentice
Apprentice


Joined: 18 Jan 2015
Posts: 155

PostPosted: Sun Jul 29, 2018 9:17 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum