Saturday, May 11, 2024
 Popular · Latest · Hot · Upcoming
26
rated 0 times [  26] [ 0]  / answers: 1 / hits: 161330  / 2 Years ago, mon, august 1, 2022, 5:58:32

I'm trying to have everything ready to install a new desktop with a few command line instructions.
Unfortunately, to install the language packages, I couldn't find how to do it.



I can run



gnome-language-selector


But it doesn't seems to be usable in command line directly. I need to go on with clicks...



An other thing that could be done is that I do those clicks and find out which packages have been installed and read the changes in /etc/environment and /etc/default/locale (and other /etc/... file?) but the list of packages is probably different depending on the packages installed (Firefox, Thunderbird, LibreOffice, Gnome, ...)



Is there a tool for that? Like let's say :



gnome-language-selector --install fr


or a package that has all necessary dependencies :



sudo apt-get install super-language-pack-fr


Thanks,


More From » 12.04

 Answers
7

For desktop you can



sudo apt-get install language-pack-[cod] language-pack-gnome-[cod] language-pack-[cod]-base language-pack-gnome-[cod]-base 


But each applications can have its language pack.
To know the packages to be installed try:



check-language-support -l [cod]


For example:



check-language-support -l fr

[#37673] Monday, August 1, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
confiorc

Total Points: 42
Total Questions: 121
Total Answers: 123

Location: India
Member since Wed, Aug 26, 2020
4 Years ago
confiorc questions
Fri, Jul 23, 21, 18:21, 3 Years ago
Tue, Mar 22, 22, 14:25, 2 Years ago
Thu, Feb 17, 22, 22:43, 2 Years ago
;