Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to change/apply the language pack for the interface #103

Closed
budetisufu opened this issue Jan 24, 2019 · 13 comments
Closed

How to change/apply the language pack for the interface #103

budetisufu opened this issue Jan 24, 2019 · 13 comments

Comments

@budetisufu
Copy link

Hey. What settings are responsible for the browser language? As for me, the configuration file is badly commented. This is confusing.

@intika
Copy link
Owner

intika commented Jan 24, 2019

Hi, if you mean the interface your Firefox needs to be in the language you want before applying Librefox... or you can install a language pack of your choice

Firefox language version: https://www.mozilla.org/en-US/firefox/all/

Language packs: https://addons.mozilla.org/en-US/firefox/language-tools/

@budetisufu
Copy link
Author

Thanks for the hasty closure! librefox cannot be used with system firefox. When installing Language Pack, the "add" button is not active.

@intika
Copy link
Owner

intika commented Jan 24, 2019

#104 fixed this...
You could remove "lockPref("intl.locale.requested", "en-US");" from the mozilla.cfg that should help
i added this to #3 for further investigation... its not a hasty closure ;)

Let me know if you need further assistance

@budetisufu
Copy link
Author

This does not solve the problem. The language did not change after installing librefox over firefxox, installed from the repositories.

@bogachenko
Copy link
Contributor

bogachenko commented Jan 25, 2019

@budetisufu you have commented out lockPref("intl.locale.requested", "en-US"); in file mozilla.cfg? or not? Just find this value in the file and add two slashes in front of it. You should have this //lockPref("intl.locale.requested", "en-US");
2

Restart your browser. Once you comment out this parameter, the value is reset to an empty string.
default
download the language pack from the site mozilla.org. and then manually type the locale you need.
I'm from Russia, so I have ru. Here is a list of all locales. this http://l10n.mozilla-community.org/webdashboard/
2

You cannot dance with a tambourine. and download translated into your language

Firefox language version: https://www.mozilla.org/en-US/firefox/all/

Language packs: https://addons.mozilla.org/en-US/firefox/language-tools/

EZ

@budetisufu
Copy link
Author

Of course commented out. I don't need to download anything. Everything is already in the system. Downloaded from the Mozilla site has no problems.

@intika
Copy link
Owner

intika commented Jan 25, 2019

@budetisufu a couple of question to be able to help you the right way:

  • Without Librefox, is you Firefox's install in the language you want ?
  • Do you have the language pack installed ? (about:addons then language pack)
  • lockPref("intl.locale.requested", "en-US") is meant for the displayed webpage not for the interface... i though this affected the interface
  • What's the language you want to use ?
  • What distro do you use ?

Eventually i'll send back the needed language pack xpi over here

@bogachenko
Copy link
Contributor

he downloaded the already translated version

@intika
Copy link
Owner

intika commented Jan 25, 2019

@bogachenko thank you for helping out on this one :)... wait and see what's his answer it's not clear

@intika
Copy link
Owner

intika commented Jan 25, 2019

i think i found the problem...

@bogachenko
Copy link
Contributor

i think i found the problem...

?

@intika intika changed the title Change browser language How to change/apply the language pack for the interface Jan 25, 2019
@intika
Copy link
Owner

intika commented Jan 25, 2019

First thing first the add button when installing language package does not work because of resistFingerprinting feature that spoof the wrong Firefox's version to the Mozilla's addons site... and other telemetry settings that disable Mozilla's site from using infos about the browser

@budetisufu Here is a detailed solution

  1. Check that you have the language pack of the desired language installed under about:addons then language.

  2. To install a language pack select the needed one from here https://addons.mozilla.org/en-US/firefox/language-tools/ then you need to select the proper version let say you want the Russian language pack, you will need to download the right version by going into the versions page https://addons.mozilla.org/en-US/firefox/addon/russian-ru-language-pack/versions/ (if you use firefox 64 select the latest v64) right click on the "add to firefox" and select copy link then past it on the url bar and add the language pack

  3. Once the language pack installed you need to check some settings

  • intl.locale.requested needs to be emply or referring the the language you want to use like ru-RU
  1. Other related settings needs to be updated
  • privacy.spoof_english needs to be set to 1
  • intl.accept_languages needs to have your language listed for example ru, ru-ru, en-us, en
  1. You can change settings on 4 with the interface under Preferences/General/Language/Choose and then adding your language to the list...

Firefox/Librefox should be fine in your language after doing this....

I will see how i can change that behavior on future version... but @bogachenko solution should be just fine.

Let me know if you need further assistance ;)

@budetisufu
Copy link
Author

budetisufu commented Jan 26, 2019

@intika Now everything works! Thank you very much!

@intika intika mentioned this issue Jan 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants