How to change the language to Ubuntu Server from terminal, console or SSH

Generally, throughout the set up of Ubuntu Server, the administrator can be requested about the language by which the system can be put in, with English being the default language. When we hire a devoted server, the system will in all probability be in the language of the firm’s origin. The most conventional factor is to discover an Ubuntu Server in English, and with the keyboard format additionally in English, however some French server internet hosting providers put it in French by default, with its corresponding keyboard format.

Today in RedesZone we’re going to train you ways to change the language of any model of Ubuntu Server to Spanish, and in addition how we are able to change the keyboard format to our language, in order not to have any downside when getting into through terminal or console domestically.

Change the language of Ubuntu Server to Spanish

Taking under consideration that Ubuntu Server doesn’t have a graphical person interface, and that usually we are going to use this working system on a devoted server, VPS or Cloud very far from us, the solely approach to handle it remotely and change the language to Spanish is to use SSH protocol, which is put in by default.

The very first thing we should do is join remotely to the Ubuntu Server of our devoted server. Next, we execute the following command by console, both by SSH or immediately in the native terminal itself:

sudo dpkg-reconfigure locales

When we execute this command, we are going to get a small language configuration wizard. In this wizard we can have to deselect the English language, and select solely the Spanish language that’s indicated as es_ES.UTF-8. To choose or deselect we should use the area bar to present us an asterisk. Now we go to “OK” and press enter.

We select the default language of the working system, on this case es_ES which is the just one we can have on the server. Once chosen, click on on «OK» and «Enter».

In these moments we can have modified the language to Spanish, we can have to restart the server for the modifications to be utilized accurately. When we return to the working system, if we execute the following command we are able to confirm that we even have it in Spanish:


In the previous this course of was way more tedious, as a result of we had to edit totally different configuration information manually with a selected syntax, then apply the modifications with the dpkg-reconfigure, and eventually, restart the server. Now executing a easy command we are able to perform the entire course of with a extremely easy and pleasant configuration wizard, with out the want to edit any sort of textual content file to change the language to Spanish.

As you have got seen, now the course of to observe is way easier, and we are able to confirm that we have now it in Spanish by executing the command «locale» as we have now defined.

Change Ubuntu Server keyboard format to Spanish

Now that we have now modified the language of the working system to Spanish, we’re going to change the keyboard format. Via SSH we might not have issues as a result of it preserves the unique keyboard format, but when we’re going to enter the terminal domestically in the working system, then we can have issues if we have now it in English, which is typical. In the previous, altering the keyboard format of any Linux working system was fairly tedious, modifying totally different configuration information and having to restart the working system to save the modifications. Now, simply by executing a command per terminal with root permissions and following the configuration wizard that Ubuntu Server will present us, we are able to do that course of in minutes.

To rapidly change the keyboard format, we should execute the following command so {that a} configuration wizard seems:

sudo dpkg-reconfigure keyboard-configuration

When we run it, we are going to get a wizard the place we are going to choose the keyboard mannequin, if we have no idea it or it doesn’t seem in the record, we depart the default possibility or one related to our keyboard. Next, by default we have now it in English, however we are able to simply change it to Spanish, happening to the «Spanish» part and deciding on it, clicking OK to go to the subsequent menu.

When we click on on «Spanish», we should select the first possibility that comes by default, though we have now different prospects as you may see in the photograph gallery. We can even have the chance to configure the ALT-GR key on our keyboard, and even the «FN» key that we have now on some keyboards.

Once we have now configured the whole lot, it should point out that the modifications can be utilized when restarting the server, subsequently, we can have to execute the typical “sudo reboot” to restart it and we can be in a position to get pleasure from the Spanish keyboard format.

As you have got seen, altering the keyboard format in an Ubuntu Server working system is basically easy, we merely had to execute a command and observe the configuration wizard that can seem immediately in the terminal. This course of could be finished through SSH with none downside.

With this we are going to have already got our Ubuntu Server in a language that we perceive higher and with which we are able to start to handle the system extra simply, as well as to having the ability to use our keyboard format in Spanish, and never have issues with symbols equivalent to colon, dashes and low bars, which in the English keyboard format change radically and the use of the console could be sophisticated if we do not put the keyboard in Spanish.