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
Forum rules
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
-
- Ronin
- Posts: 1
- Joined: 27 Aug 2020, 16:34
- Distribution: 5.0.0
-
- Ronin
- Posts: 3
- Joined: 25 Jun 2023, 16:55
- Distribution: Linux
Firefox change language adding language-pack extension
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
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
-
- Ronin
- Posts: 3
- Joined: 25 Jun 2023, 16:55
- Distribution: Linux
Firefox change language adding language-pack extension
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
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