[SOLVED] Set system language to spanish and set time of the system correctly.
ArchThis Forum is for the discussion of Arch Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Set system language to spanish and set time of the system correctly.
Greetings folks. Today I have two things I want to solve on my freshly installed Arch system.
First something I consider you need to know about my system is that I installed the KDE desktop environment and now to the point.
I would like to know if is there a package that can be installed to set the whole system to the spanish language or how to add it to the locale and set it as default.
Another thing I want to correct is the time of the system, it happens that everytime I restart the system it goes two hours back and I have to manually set it and I think it is because I setted the time to UTC, now I need to set the time manually and get rid of the UTC thing (if it is even possible).
That's all the information I posses right now, if any extra information is required just let me know.
Thank you for your time and in advance, thank you, any help will be very appreciated.
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728
Rep:
Quote:
Originally Posted by nando321
Greetings folks. Today I have two things I want to solve on my freshly installed Arch system.
First something I consider you need to know about my system is that I installed the KDE desktop environment and now to the point.
I would like to know if is there a package that can be installed to set the whole system to the spanish language or how to add it to the locale and set it as default.
Another thing I want to correct is the time of the system, it happens that everytime I restart the system it goes two hours back and I have to manually set it and I think it is because I setted the time to UTC, now I need to set the time manually and get rid of the UTC thing (if it is even possible).
That's all the information I posses right now, if any extra information is required just let me know.
Thank you for your time and in advance, thank you, any help will be very appreciated.
To set the time, you have to specify correct time zone ans pointed out in archlinux wiki:
Quote:
Time Zone
Be sure that /etc/localtime is linked to the correct zone file. This is necessary not only for the localtime to be set correctly but also for other
programs you may use. You can do this by:
$ ls -l /etc/localtime
You can find the time zones listed in /usr/share/zoneinfo/ and then you will need to find a major city that exists to your time zone. If you live
in a specialized time zone area these will be listed in sub-directories.
To change your time zone, link /etc/localtime to the new zone file:
# ln -sf /usr/share/zoneinfo/<Zone>/<SubZone> /etc/localtime
When you set the hardware clock the new time zone will be used; you can check your system's hardware clock within your BIOS.
To set the language you have to enable the necessary locale first, as pointed out in archlinux wiki:
Quote:
Enabling necessary locales
Before a locale can be used on the system, it has to be enabled first. To list all available locales, use:
$ locale -a
To enable a locale, uncomment the name of the locale in the file /etc/locale.gen. This file contains all the available locales that can be used
on the system. Revert the process to disable a locale. After the necessary locales are enabled, the system needs to be updated with the new locales:
# locale-gen
To display the locales now currently in use, use:
$ locale
Tip: Though it's most likely that just one language is used use on your computer, it can be helpful or even necessary to enable other locales as well. If you're running a multi-user system with users that do not speak en_US, their individual locale should at least be supported by your system.
US English example
First uncomment the following locales in /etc/locale.gen:
en_US.UTF-8 UTF-8
Hi all. I also looked for help at the archlinux forum and had some extra help.
Now I've got everything set properly and here are the solutions:
Solution for the time: right click over the clock on the panel and go to "Preferences of the Digital Clock". In the window that pops up go to "Time zones" and search for "Default configuration of the clock" and set it to "UTC" and check in on the list your City/Country and UTC as well.
Solution to have the system in spanish language: go to the terminal and login as root, then type "pacman -S kde-l10n-es" and press Enter, wait until the package is downloaded and installed, go to "System Preferences" and find "locale", once there on the "Language" tab select "Spanish" and click on the arrow to send Spanish to prefered language, click "Apply" restart your system and the next time you login to your system the language will be set to spanish.
And that's it. Thank you everyone for your support.
This thread is now solved
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.