General TC > Programming & Scripting - Unofficial

Firefox - Extension to install the latest version

<< < (16/17) > >>

CNK:

--- Quote ---You still haven't answered how to install this!?

--- End quote ---

I don't think I've been asked. I don't know what you're asking either - installing Firefox or installing the firefox_getLatest.sh script? But honestly I usually can't understand your posts so you might just have to find help from someone else with whatever it is. Or maybe you're not talking to me at all? Coreplayer2 is gone though.

Possibly this is what you want (to enter in a terminal):

--- Code: ---LANG=tr firefox_getLatest.sh -m

--- End code ---


--- Quote ---Where are the update notes!?

--- End quote ---

That one I can answer. They're where they've always been, in the info file.


--- Code: ---Change-log:             ---
                        2014/12/20 Original
                        2015/01/17 Updated to support cloud mode install and Firefox major update
                        2015/10/03 Support for command-line options
                        2015/10/04 Name change and permissions update
                        2015/10/11 fix for wget used in tc-4.x
                        2015/10/14 onboot improvements and some cosmetic changes
                        2015/10/31 Updated language detection
                        2015/11/16 Updated cleanup function
                        2015/11/22 firefox get version fixes
                        2015/11/22 Added additional firefox desktop menus
                        2015/11/23 Minor changes/fixes in wget arguments and menu inconsistencies
                        2015/11/24 Name change to accommodate new menu items and WM's
                        2016/01/09 Improved detection of arch. and squashfs-tools versions in tc4 & tc5
                        2016/05/28 Fixed lib64 (corepure64) and added GTK3 to dep lists
                        2017/05/19 added ca-certificates to dep list
                        2017/05/19 updated to comply with busybox changes
                        2018/12/15 updated dep lists (added gcc_libs & gdk-pixbuf2)
                        2020/11/10 Added libXt to dep list. Also options -e and -b (CNK)
                        2020/12/25 Fixed script file not owned by root in last extension (CNK)
                        2021/05/03 Improved version number extraction (CNK)
                        2022/02/08 Added libXtst to dep list. Also added -d option (CNK)
                        2022/11/17 Updated download URL. Exit if download fails (CNK)
Current:                2023/07/06 Fix deleting temp. files when not tc user. Add -g option (CNK)

--- End code ---

xor:
My native language is not English and I write correspondence via Google Translate.

my local home language is "LANG=tr"

I am asking how to download the latest firefox version in my local language with which command.

The "firefox_getLatest.sh -m" command downloads only the English version.

Thank you in advance for your reply.


--- Quote from: CNK on November 18, 2023, 04:47:23 PM ---
--- Quote ---
--- End quote ---

--- End quote ---

CNK:

--- Quote from: xor on November 19, 2023, 12:35:53 AM ---my local home language is "LANG=tr"

I am asking how to download the latest firefox version in my local language with which command.

The "firefox_getLatest.sh -m" command downloads only the English version.

--- End quote ---

Great, then it's like I said, just put "LANG=tr" at the start of the command:

--- Code: ---LANG=tr firefox_getLatest.sh -m

--- End code ---

xor:
" LANG=tr firefox_getLatest.sh -m " ??? This situation made me feel like a fool! :(

Please improve the code to allow entering an argument like this;

" firefox_getLatest.sh -tr "
or
" firefox_getLatest.sh -tr -m "

Can you take this suggestion into consideration!?

If your native language is English, there is no situation that affects you anyway!

But this is very important for those whose native language is not English!

CNK:
The idea of LANG is that you have it set to your native language in your shell environment (shown with the command "printenv", I guess yours might be unset so it will say "LANG=C" which defaults to English), then it doesn't need to be said on the command line.

If you want to use one language for a particular program and another for everything else, then setting "LANG" at the start like "LANG=tr [program]" is the standard way to do it for any program on Linux. It overrides your usual LANG environment variable.

Adding extra command-line options isn't useful because the current approach is already consistent with most other software. It's not foolish, it makes it clear that you're deliberately overriding the language setting that other software on your system uses.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version