You are not logged in.

#1 2011-04-08 00:53:12

s1n1st3r
Member
From: Rio de Janeiro, Brazil
Registered: 2011-03-15
Posts: 19

recent installed arch mixing english and portuguese. Why? [solved]

Hello ev'ry one, I've reinstalled my system today and made all configs needed. As i'm brazilian, i need to set my system to pt-br and my keyboard to abnt2 (br), and so I did throughout /etc/rc.conf (LOCALES = pt_BR.UTF-8) and also /etc/locale.gen, where i uncomment both pt_BR options. After doing so, my system keep mixing the two languages, even after commenting en_US options in "/etc/locale.gen". 

My rc.conf looks like this:

LOCALE="pt_BR.UTF-8"
DAEMON_LOCALE="no"
HARDWARECLOCK="localtime"
TIMEZONE="America/Sao_Paulo"
KEYMAP="br-abnt2"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

and my locale.gen is like this:

#en_US.UTF-8 UTF-8
#en_US ISO-8859-1
(...)
pt_BR.UTF-8 UTF-8
pt_BR ISO-8859-1

How can i solve this? 

Grats

Last edited by s1n1st3r (2011-04-08 15:35:16)

Offline

#2 2011-04-08 02:42:48

JackH79
Member
From: Australia
Registered: 2009-06-18
Posts: 663
Website

Re: recent installed arch mixing english and portuguese. Why? [solved]

Have you tried to put

DAEMON_LOCALE="pt_BR.UTF-8"

as well?

Offline

#3 2011-04-08 02:52:20

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: recent installed arch mixing english and portuguese. Why? [solved]

Sidenote: many apps are not translated.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#4 2011-04-08 02:56:45

repo
Member
Registered: 2011-03-04
Posts: 14

Re: recent installed arch mixing english and portuguese. Why? [solved]

what does "mixing" mean?
what DE or WM are you using?
and also bear in mind that some aplications use a separated package for other languages.
if firefox (for example) is in english, you need to install the pt-br package to fix that (firefox-i18n-pt-br).
or is it a keyboard layout problem?
if you're using gnome and gdm, set "abnt2 (br)" in the login screen (by clicing the kblayout option in the bottom of the screen) and also change it in the keyboard configuration once logged in.
if you only do it when you're logged in, gdm will set it back to english every time you log in (ie every time gdm is run).

Offline

#5 2011-04-08 02:56:50

s1n1st3r
Member
From: Rio de Janeiro, Brazil
Registered: 2011-03-15
Posts: 19

Re: recent installed arch mixing english and portuguese. Why? [solved]

JackH79 wrote:

Have you tried to put

DAEMON_LOCALE="pt_BR.UTF-8"

as well?

there was no effect.


Mr. Elendig, that's not the first time I installed gnome (arch) and the previous system were entirelly translated. That's why I ain't getting the point now.

Offline

#6 2011-04-08 03:02:24

JackH79
Member
From: Australia
Registered: 2009-06-18
Posts: 663
Website

Re: recent installed arch mixing english and portuguese. Why? [solved]

So is it just gnome stuff that's bi-lingual. Which version of gnome do you have? If it's 3, maybe not everything has been translated yet.

Offline

#7 2011-04-08 03:04:15

s1n1st3r
Member
From: Rio de Janeiro, Brazil
Registered: 2011-03-15
Posts: 19

Re: recent installed arch mixing english and portuguese. Why? [solved]

repo wrote:

what does "mixing" mean?
what DE or WM are you using?
and also bear in mind that some aplications use a separated package for other languages.
if firefox (for example) is in english, you need to install the pt-br package to fix that (firefox-i18n-pt-br).
or is it a keyboard layout problem?
if you're using gnome and gdm, set "abnt2 (br)" in the login screen (by clicing the kblayout option in the bottom of the screen) and also change it in the keyboard configuration once logged in.
if you only do it when you're logged in, gdm will set it back to english every time you log in (ie every time gdm is run).

By mixing I meant both languages at same time, which do not happened in previous instalations. Some parts are in portuguese, just like my aplicatives but others remain in english. I'm not using gdm as login manager. I'm actually starting system manually by startx, via ~/.xinitrc. About my keyboard, i'm facing problems to set it up. Again, i used to take it working and reconigzed automatically by adding "setxkbmap -model abnt2 br" in my session applications. Now it doesn't works, so I must set my kb every time o log the system in.

No virtual machines. The system is installed on my laptop.

Last edited by s1n1st3r (2011-04-08 03:05:15)

Offline

#8 2011-04-08 03:06:51

s1n1st3r
Member
From: Rio de Janeiro, Brazil
Registered: 2011-03-15
Posts: 19

Re: recent installed arch mixing english and portuguese. Why? [solved]

JackH79 wrote:

So is it just gnome stuff that's bi-lingual. Which version of gnome do you have? If it's 3, maybe not everything has been translated yet.

Gnome 2.32 i guess. Gnome3 is in beta stage yet i think (not available at oficial repos.)

Offline

#9 2011-04-08 03:28:29

JokerBoy
Member
From: România
Registered: 2009-09-24
Posts: 641

Re: recent installed arch mixing english and portuguese. Why? [solved]

JackH79 wrote:

Have you tried to put

DAEMON_LOCALE="pt_BR.UTF-8"

as well?

# DAEMON_LOCALE: Set the locale during daemon startup and during the boot process. If set to 'no', the C locale will be used.
so in here you answer with yes/no.

and gnome 3 is out.. you really should upgrade your system.

Last edited by JokerBoy (2011-04-08 03:29:10)

Offline

#10 2011-04-08 05:07:03

JackH79
Member
From: Australia
Registered: 2009-06-18
Posts: 663
Website

Re: recent installed arch mixing english and portuguese. Why? [solved]

JokerBoy wrote:

# DAEMON_LOCALE: Set the locale during daemon startup and during the boot process. If set to 'no', the C locale will be used.
so in here you answer with yes/no.

My bad. You're right. Not using it myself, so ...

JokerBoy wrote:

and gnome 3 is out.. you really should upgrade your system.

Yes, but only in testing. So unless you're using that repo there is no need to update.

Offline

#11 2011-04-08 12:29:57

s1n1st3r
Member
From: Rio de Janeiro, Brazil
Registered: 2011-03-15
Posts: 19

Re: recent installed arch mixing english and portuguese. Why? [solved]

gnome3 is placed in testing repository. I`m not using it. By the way, i`ve seen some people trying it out and getting some bugs, what is natural considering is a beta version we are talking about. I`ll test when it came to oficial repos.

EDIT: I end up reinstalling the entire system. No regrets about it 'cuz I think I've found the point. At first post I've posted my rc.conf contents and it was looking like it:

LOCALE="pt_BR.UTF-8"
DAEMON_LOCALE="no"
HARDWARECLOCK="localtime"
TIMEZONE="America/Sao_Paulo"
KEYMAP="br-abnt2"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

This time it came a bit different. Now it's like this:

#
LOCALE="pt_BR.UTF-8"
HARDWARECLOCK="localtime"
TIMEZONE="America/Sao_Paulo"
KEYMAP="br-abnt2"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

# -----------------------------------------------------------------------

I guess the missing line (daemon_locale) was the problem. Not shure, but now my system is entirelly in portuguese.
I'd like to thanks everyone for the support u gave me. Thanks a lot.

Last edited by s1n1st3r (2011-04-08 15:36:53)

Offline

Board footer

Powered by FluxBB