How can I update my languages from the terminal?












2















After installing Ubuntu and updating the system, the first thing I usually do is make sure that all applications use the preferred locale. To do so, I start Language Support from the Dash which automatically downloads the remaining localisation packages:



enter image description here



This works well, but as I'm doing most of my Ubuntu post-installation work from the terminal, I'd like to do this from the terminal, too.



Is there a way to do so?










share|improve this question



























    2















    After installing Ubuntu and updating the system, the first thing I usually do is make sure that all applications use the preferred locale. To do so, I start Language Support from the Dash which automatically downloads the remaining localisation packages:



    enter image description here



    This works well, but as I'm doing most of my Ubuntu post-installation work from the terminal, I'd like to do this from the terminal, too.



    Is there a way to do so?










    share|improve this question

























      2












      2








      2








      After installing Ubuntu and updating the system, the first thing I usually do is make sure that all applications use the preferred locale. To do so, I start Language Support from the Dash which automatically downloads the remaining localisation packages:



      enter image description here



      This works well, but as I'm doing most of my Ubuntu post-installation work from the terminal, I'd like to do this from the terminal, too.



      Is there a way to do so?










      share|improve this question














      After installing Ubuntu and updating the system, the first thing I usually do is make sure that all applications use the preferred locale. To do so, I start Language Support from the Dash which automatically downloads the remaining localisation packages:



      enter image description here



      This works well, but as I'm doing most of my Ubuntu post-installation work from the terminal, I'd like to do this from the terminal, too.



      Is there a way to do so?







      command-line automation internationalization localization






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 8 '16 at 8:59









      Exeleration-GExeleration-G

      4,216104488




      4,216104488






















          2 Answers
          2






          active

          oldest

          votes


















          3














          Use this command (I used English (en) in the example):



          sudo apt-get install language-pack-en language-pack-en-base




          Depending on the desktop environment you use, you also need those:



          For Gnome/Unity



          sudo apt-get install language-pack-gnome-en language-pack-gnome-en-base


          For KDE:



          sudo apt-get install language-pack-kde-en language-pack-kde-en-base




          Also, there is a utility to check which programs you have installed and then determines the needed language packages. It will also cover Firefox and Thunderbird, for example. It is intended to use with apt-get together:



          sudo apt-get install $(check-language-support -l en)





          share|improve this answer
























          • That worked! Thanks, this will make everything go even faster.

            – Exeleration-G
            Jan 8 '16 at 14:08



















          3














          According to this guide, you first edit the file /etc/default/locale, or use:



          $ update-locale LANG=de_DE.UTF-8 LC_MESSAGES=POSIX


          and then you run:



          $ dpkg-reconfigure locales





          share|improve this answer
























          • Thanks, but that one didn't work. For instance, Firefox still uses the default language.

            – Exeleration-G
            Jan 8 '16 at 14:05











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f718501%2fhow-can-i-update-my-languages-from-the-terminal%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          3














          Use this command (I used English (en) in the example):



          sudo apt-get install language-pack-en language-pack-en-base




          Depending on the desktop environment you use, you also need those:



          For Gnome/Unity



          sudo apt-get install language-pack-gnome-en language-pack-gnome-en-base


          For KDE:



          sudo apt-get install language-pack-kde-en language-pack-kde-en-base




          Also, there is a utility to check which programs you have installed and then determines the needed language packages. It will also cover Firefox and Thunderbird, for example. It is intended to use with apt-get together:



          sudo apt-get install $(check-language-support -l en)





          share|improve this answer
























          • That worked! Thanks, this will make everything go even faster.

            – Exeleration-G
            Jan 8 '16 at 14:08
















          3














          Use this command (I used English (en) in the example):



          sudo apt-get install language-pack-en language-pack-en-base




          Depending on the desktop environment you use, you also need those:



          For Gnome/Unity



          sudo apt-get install language-pack-gnome-en language-pack-gnome-en-base


          For KDE:



          sudo apt-get install language-pack-kde-en language-pack-kde-en-base




          Also, there is a utility to check which programs you have installed and then determines the needed language packages. It will also cover Firefox and Thunderbird, for example. It is intended to use with apt-get together:



          sudo apt-get install $(check-language-support -l en)





          share|improve this answer
























          • That worked! Thanks, this will make everything go even faster.

            – Exeleration-G
            Jan 8 '16 at 14:08














          3












          3








          3







          Use this command (I used English (en) in the example):



          sudo apt-get install language-pack-en language-pack-en-base




          Depending on the desktop environment you use, you also need those:



          For Gnome/Unity



          sudo apt-get install language-pack-gnome-en language-pack-gnome-en-base


          For KDE:



          sudo apt-get install language-pack-kde-en language-pack-kde-en-base




          Also, there is a utility to check which programs you have installed and then determines the needed language packages. It will also cover Firefox and Thunderbird, for example. It is intended to use with apt-get together:



          sudo apt-get install $(check-language-support -l en)





          share|improve this answer













          Use this command (I used English (en) in the example):



          sudo apt-get install language-pack-en language-pack-en-base




          Depending on the desktop environment you use, you also need those:



          For Gnome/Unity



          sudo apt-get install language-pack-gnome-en language-pack-gnome-en-base


          For KDE:



          sudo apt-get install language-pack-kde-en language-pack-kde-en-base




          Also, there is a utility to check which programs you have installed and then determines the needed language packages. It will also cover Firefox and Thunderbird, for example. It is intended to use with apt-get together:



          sudo apt-get install $(check-language-support -l en)






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jan 8 '16 at 10:14









          chaoschaos

          19.2k85767




          19.2k85767













          • That worked! Thanks, this will make everything go even faster.

            – Exeleration-G
            Jan 8 '16 at 14:08



















          • That worked! Thanks, this will make everything go even faster.

            – Exeleration-G
            Jan 8 '16 at 14:08

















          That worked! Thanks, this will make everything go even faster.

          – Exeleration-G
          Jan 8 '16 at 14:08





          That worked! Thanks, this will make everything go even faster.

          – Exeleration-G
          Jan 8 '16 at 14:08













          3














          According to this guide, you first edit the file /etc/default/locale, or use:



          $ update-locale LANG=de_DE.UTF-8 LC_MESSAGES=POSIX


          and then you run:



          $ dpkg-reconfigure locales





          share|improve this answer
























          • Thanks, but that one didn't work. For instance, Firefox still uses the default language.

            – Exeleration-G
            Jan 8 '16 at 14:05
















          3














          According to this guide, you first edit the file /etc/default/locale, or use:



          $ update-locale LANG=de_DE.UTF-8 LC_MESSAGES=POSIX


          and then you run:



          $ dpkg-reconfigure locales





          share|improve this answer
























          • Thanks, but that one didn't work. For instance, Firefox still uses the default language.

            – Exeleration-G
            Jan 8 '16 at 14:05














          3












          3








          3







          According to this guide, you first edit the file /etc/default/locale, or use:



          $ update-locale LANG=de_DE.UTF-8 LC_MESSAGES=POSIX


          and then you run:



          $ dpkg-reconfigure locales





          share|improve this answer













          According to this guide, you first edit the file /etc/default/locale, or use:



          $ update-locale LANG=de_DE.UTF-8 LC_MESSAGES=POSIX


          and then you run:



          $ dpkg-reconfigure locales






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jan 8 '16 at 10:10









          joeytwiddlejoeytwiddle

          9241021




          9241021













          • Thanks, but that one didn't work. For instance, Firefox still uses the default language.

            – Exeleration-G
            Jan 8 '16 at 14:05



















          • Thanks, but that one didn't work. For instance, Firefox still uses the default language.

            – Exeleration-G
            Jan 8 '16 at 14:05

















          Thanks, but that one didn't work. For instance, Firefox still uses the default language.

          – Exeleration-G
          Jan 8 '16 at 14:05





          Thanks, but that one didn't work. For instance, Firefox still uses the default language.

          – Exeleration-G
          Jan 8 '16 at 14:05


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f718501%2fhow-can-i-update-my-languages-from-the-terminal%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Ellipse (mathématiques)

          Quarter-circle Tiles

          Mont Emei