Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
language is wrong in browser
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
ranran
n00b
n00b


Joined: 11 Jul 2018
Posts: 69

PostPosted: Tue Jul 24, 2018 11:26 am    Post subject: language is wrong in browser Reply with quote

Hello,

I've installed gentoo, and everything seems to function OK.

Yet, in browser(dillo) I noticed that the language is wrong (I wanted English, but I get my local state language..)

So, I understood that I mistakenly skipped the locale install.
The next thing I did is to follow instruction in
https://wiki.gentoo.org/wiki/Localization/Guide
( choosing en_US.etf8 )
Yet, on starting dillo browser I still see local language instead of English.

EDIT:
I noticed it more in google.com, in other web pages it seems correct, so I'm not exactly sure if there is a problem or not.

Thanks for any idea,
ranran
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7071

PostPosted: Tue Jul 24, 2018 4:55 pm    Post subject: Reply with quote

normally not settings locale properly you end up in english.
so not having properly set locale, you should endup in english ; and it's then odd to see you describe it has endup in your local language instead of english then.

next to that, choosing another locale is not really enough, you need to choose it, but also configure that locale properly to be use, else it will get back to a valid locale it could use (or default, i don't remember it)
to configure properly a locale, it must appears in /etc/locale.gen, and then generate the locale (using locale-gen), after that, you select that locale, and it should be all good.
that's all made like this:
Code:
echo "en_US UTF-8" >> /etc/locale-gen
locale-gen
eselect locale set en_US
locale

(the locale command should display all locales, and they should be set to en_US now)
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2574

PostPosted: Wed Jul 25, 2018 4:51 am    Post subject: Reply with quote

That isn't a local issue. Google is "smart" and automatically servers you in your local language. This can make browsing with tor very interesting as you generally end up with google speaking Russian.

You should be able to customize your google account to give you English.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5761

PostPosted: Wed Jul 25, 2018 3:19 pm    Post subject: Reply with quote

Alternatively, use DuckDuckGo which respects the browser's language setting.
Back to top
View user's profile Send private message
Fitzcarraldo
Veteran
Veteran


Joined: 30 Aug 2008
Posts: 1655
Location: United Kingdom

PostPosted: Wed Jul 25, 2018 8:00 pm    Post subject: Reply with quote

With Google you can append ?hl=<locale> to the URL in order to force the browser to display Google's pages in a language that is different to the language in your locale. For example, let's say you are in the UK and you want Google to display in Brazilian Portuguese. You would modify the URL as follows:

https://www.google.com/?hl=pt_BR

( or https://www.google.co.uk/?hl=pt_BR )

For idiomatic reasons the text on some buttons can differ between locales that use the same language. For example:

https://www.google.com/?hl=pt_PT

( or https://www.google.co.uk/?hl=pt_PT )

have some button text in Portuguese for Portugal that differs from the pages in Portuguese for Brazil.
_________________
Clevo W230SS: amd64 OpenRC elogind nvidia-drivers & xf86-video-intel.
Compal NBLB2: ~amd64 OpenRC elogind xf86-video-ati. Dual boot Win 7 Pro 64-bit.
KDE on both.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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