Page 1 of 1

Firefox change language adding language-pack extension

Posted: 27 Aug 2020, 16:55
by aboupastis
Hi,
I'm trying to change Firefox default language.
Taking a look to some firefox documentation, I proceeded adding the proper extension (langpack-it@firefox.mozilla.org.xpi) in the profile folder (/home/guest/.mozilla/firefox/c3pp43bg.default/extensions).

I also added this line in the pref.js file in the profile folder:

...
user_pref("general.useragent.locale", "it");
...

Obviously I added all this in an xzm module and made my ISO.

Everything is there were expected (I checked with ssh), but still not working.

Did I miss something? Could you please help me with this?

Let me know, thank you.

Stefano Prosperi.

Firefox change language adding language-pack extension

Posted: 28 Jun 2023, 19:05
by Reformedxfuture
Hi ,
i'm getting the same issue , when i try my firefox porteus kiosk profile on the client , language is ok.
After mksquashing , i check the files with ssh , its all with what i want but in reality it's still english ( some web pages are in english and the date format as well )

any fix ? thx

Firefox change language adding language-pack extension

Posted: 05 Jul 2023, 14:37
by Reformedxfuture
Hi ,
Sorry for the Up.

i'm really losing it.

i tried everything :

editing : /home/user/iso/xzm/squashfs-root/etc/profile.d/lang.sh

#!/bin/sh

# System locale:

export LANG=fr_FR.UTF-8

export LC_COLLATE=C


Then going into prefs.js and adding all the lines related to language :
user_pref("intl.accept_languages", "fr-fr");

user_pref("intl.locale.requested", "fr-FR");

copying a language pack then adding to prefs.js :
user_pref("extensions.bootstrappedAddons", "{langpack-fr@firefox.mozilla.org:{\"version\":\"1.0\",\"type\":\"locale\",\"descriptor\":\"/home/guest/.mozilla/firefox/c3pp43bg.default/extensions/langpack-fr@firefox.mozilla.org.xpi\"}}");


Still nothing , once i mksquash and launch my iso , firefox is still in english and i see date format in english as well.

Please anyone can enlight me ? i'm not just asking for help , i tried a lot of different settings and spent hours. Even a hint would be great

thank you