WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Firefox does not accept language packs (?)  (Read 3204 times)

Offline emninger

  • Sr. Member
  • ****
  • Posts: 267
Firefox does not accept language packs (?)
« on: October 31, 2015, 06:42:38 PM »
I installed Firefox ESR (38.3) from TCE. I installed the correct language package (de) from the mozilla page but it seems to have no effect. Is there a reason why? Should there be TC language packages? At least, could/should i try with the debian ln packages?

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Firefox does not accept language packs (?)
« Reply #1 on: October 31, 2015, 07:08:03 PM »
To support local language boot code use the " firefox-getLatest " extension

When run the extension will detect the locale boot code then download the appropriate Firefox and install on your system

(Remember to set the locale boot code before running firefox-getLatest)

thanks 
« Last Edit: October 31, 2015, 07:11:52 PM by coreplayer2 »

Offline emninger

  • Sr. Member
  • ****
  • Posts: 267
Re: Firefox does not accept language packs (?)
« Reply #2 on: October 31, 2015, 08:57:22 PM »
To support local language boot code use the " firefox-getLatest " extension

When run the extension will detect the locale boot code then download the appropriate Firefox and install on your system

(Remember to set the locale boot code before running firefox-getLatest)

thanks

I've set lang=de in extlinux.con APPEND - that's ok, isn't it?

When i do firefox-getLatest.sh i'm getting an error and i'm prompted to use the -m option which i do, getting only the same error. It looks like that:

Code: [Select]
Repo in use: http://repo.tinycorelinux.net/6.x/x86/tcz
 TCE directory in use: /mnt/sdb1/tce/optional
 sdb1 has: 14245 MB free space remaining
===============================================================================

 Fetching dependencies..
 Verifying connection to server, please wait...
 connection ok
squashfs-tools is already downloaded.
squashfs-tools is already installed!
wget is already downloaded.
wget is already installed!
bzip2 is already downloaded.
bzip2 is already installed!
file is already downloaded.
file is already installed!
gtk2 is already downloaded.
gtk2 is already installed!
libasound is already downloaded.
libasound is already installed!
dbus-glib is already downloaded.
dbus-glib is already installed!
hicolor-icon-theme is already downloaded.
hicolor-icon-theme is already installed!
cairo is already downloaded.
cairo is already installed!
gamin is already downloaded.
gamin is already installed!

 Error. Check locale bootcode, using defualt.
 

 Acquiring latest version..
wget: server returned error: HTTP/1.1 404 Not Found

 Error acquiring latest version,
 we suggest you use the manual option

Internet/net work, tor is disabled ...

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Firefox does not accept language packs (?)
« Reply #3 on: October 31, 2015, 09:04:43 PM »
give me a minute...

Ok I think I was in the mood to future protect the script...   sorry that didn't work out so well for our DE friends.

ok try the modified script from here
http://forum.tinycorelinux.net/index.php/topic,17879.msg117239.html#msg117239
« Last Edit: October 31, 2015, 09:34:17 PM by coreplayer2 »

Offline emninger

  • Sr. Member
  • ****
  • Posts: 267
Re: Firefox does not accept language packs (?)
« Reply #4 on: November 01, 2015, 11:56:45 AM »
Thanks a lot! I'll try that later. For the moment, i'm struggling with some other problems ... ;)

Offline emninger

  • Sr. Member
  • ****
  • Posts: 267
Re: Firefox does not accept language packs (?)
« Reply #5 on: November 04, 2015, 07:15:11 AM »
First, the script was not executable. I changed that, but then:
Code: [Select]
===============================================================================

 Fetching dependencies..
 Verifying connection to server, please wait...
 connection ok
squashfs-tools is already downloaded.
squashfs-tools is already installed!
wget is already downloaded.
wget is already installed!
bzip2 is already downloaded.
bzip2 is already installed!
file is already downloaded.
file is already installed!
gtk2 is already downloaded.
gtk2 is already installed!
libasound is already downloaded.
libasound is already installed!
dbus-glib is already downloaded.
dbus-glib is already installed!
hicolor-icon-theme is already downloaded.
hicolor-icon-theme is already installed!
cairo is already downloaded.
cairo is already installed!
gamin is already downloaded.
gamin is already installed!

 Acquiring latest version..
wget: server returned error: HTTP/1.1 404 Not Found

 Error acquiring latest version,
 we suggest you use the manual option
 see "firefox-getLatest.sh -h" for more
 Press Enter to exit

It still does not work.

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Firefox does not accept language packs (?)
« Reply #6 on: November 04, 2015, 07:22:43 AM »
What exactly is you lang = boot code ?


Sent from my iPhone using Tapatalk

Offline emninger

  • Sr. Member
  • ****
  • Posts: 267
Re: Firefox does not accept language packs (?)
« Reply #7 on: November 04, 2015, 07:45:50 AM »
What exactly is you lang = boot code ?

What does you mean by this? In extlinux.conf i've
Code: [Select]
lang=de_DE

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Firefox does not accept language packs (?)
« Reply #8 on: November 04, 2015, 05:02:43 PM »

That appears bad timing because after you fixed your lang bootcode, Mozilla has in the last few days restructured their download directories and in the process have removed all Firefox md5sum files. 

I feel It's just a cat and mouse game, anyhow I've already resolved the issue and testing the script..

Offline emninger

  • Sr. Member
  • ****
  • Posts: 267
Re: Firefox does not accept language packs (?)
« Reply #9 on: November 06, 2015, 03:35:49 AM »
Since i'm still unable to get the latest FF (in my language) i stick with FF 38.3 ESR. Now, any time i start FF after a while i'm prompted (internally) with this msg:

-----------------------------------------       Software Update     ------------------------------------
Unable to update

a recommended security and stability update is available, but you do not have the system permissions required to install it. Please contact your system administrator, or try again from an account that has permission to install software on this computer.

You can always get the latest version of Firefox at:
https://www.mozilla.org/firefox/
-------------------------------------------------------------------------------------------------------------------

Why that? I'm logged in as user "tc" with all sudo rights?

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Firefox does not accept language packs (?)
« Reply #10 on: November 06, 2015, 03:46:15 AM »
Because Tiny Core is different and software extensions are mounted read-only. Firefox (or any app) is not aware of that and thus reacts to the fact that it cannot update its files by presenting an error message about permission issues as that is probably what the system responded after attempting to write to a read-only file system.
That's why coreplayer2 is working on the script to automate the process of creating an up to date extension of firefox.
Download a copy and keep it handy: Core book ;)

Offline emninger

  • Sr. Member
  • ****
  • Posts: 267
Re: Firefox does not accept language packs (?)
« Reply #11 on: November 06, 2015, 06:20:28 AM »
Ok, i understand.

That means, i cannot simply download a firefox version from the mozilla site and install it the classical way (./configure 'make install' install) - without breaking Tiny Core.

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Firefox does not accept language packs (?)
« Reply #12 on: November 06, 2015, 06:48:59 AM »
Incorrect. You can install anything. The difference is that it will be stored in RAM (and lost on reboot) unless you create an extension where the containing files cannot be modified at run time.
As a result, it's quite difficult to break Tiny Core.

An alternative could be, if using persistent home, to install Firefox in the user's home folder where it can always be updated.
Download a copy and keep it handy: Core book ;)

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Firefox does not accept language packs (?)
« Reply #13 on: November 06, 2015, 09:19:22 PM »
If firefox-ESR has an update available then expect to see an update for the extension in the repo soon


Offline emninger

  • Sr. Member
  • ****
  • Posts: 267
Re: Firefox does not accept language packs (?)
« Reply #14 on: November 09, 2015, 07:42:25 AM »
Thanks to coreplayer2. The last version of the firefox-GetLatest.sh worked after i turned of the zram feature (nozswap in the bootcodes) the installation process worked smart and smooth (all my settings from the ESR version very migrated flawlessly).