Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

How to change the language system wide?

Help for Current Versions of MX
Post Reply
Message
Author
williamdosa
Forum Novice
Forum  Novice
Posts: 2
Joined: Sat Oct 13, 2018 4:28 am

How to change the language system wide?

#1 Post by williamdosa » Sat Oct 13, 2018 4:31 am

Hello i installed MX Linux 17.1 for a friend in English just for me to understand things when i tweak. Now though, he needs Turkish. I can't find from where to change from English to Turkish for the death of me... MX Tweak tool? Nothing


I can see language packs for individual programs like Firefox, Thunderbird but how on earth can i change system wide language? Through a terminal? He's also a Linux newcomer and if similar changes are this "hidden" i don't know... :/

Thanks in advance!
Last edited by williamdosa on Sat Oct 13, 2018 2:54 pm, edited 1 time in total.

User avatar
fehlix
Forum Guide
Forum Guide
Posts: 2411
Joined: Wed Apr 11, 2018 5:09 pm

Re: How to change the language system wide?

#2 Post by fehlix » Sat Oct 13, 2018 6:17 am

Run this from the command line:

Code: Select all

sudo dpkg-reconfigure locales
and navigate to Turkish locale "tr_TR.UTF-8" with arrow key
and press space-bar to select,
press tab-key -> OK
and select default locale "tr_TR.UTF-8" Turkish.
Logout/login to take effect.

Welcome to the forum :exclamation:
:puppy:
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 23035
Joined: Wed Jul 19, 2006 6:13 am

Re: How to change the language system wide?

#3 Post by Jerry3904 » Sat Oct 13, 2018 6:30 am

There may be other changes you will want or need to make. Check Section 3.7.2 of the Users Manual, where fehlix's solution is described, for other similar
items to look at.

You don't have to know already that it is there, use Ctrl-F and search on "language", then go down a few hits until you get there.
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, SSD 120 GB, Data 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB
Personal: XPS 13, 4.18.0-19.3-liquorix, 4 GB

User avatar
fehlix
Forum Guide
Forum Guide
Posts: 2411
Joined: Wed Apr 11, 2018 5:09 pm

Re: How to change the language system wide?

#4 Post by fehlix » Sat Oct 13, 2018 10:04 am

fehlix wrote:
Sat Oct 13, 2018 6:17 am
Run this from the command line:

Code: Select all

sudo dpkg-reconfigure locales
and navigate to Turkish locale "tr_TR.UTF-8" with arrow key
and press space-bar to select,
press tab-key -> OK
and select default locale "tr_TR.UTF-8" Turkish.
Logout/login to take effect.

Welcome to the forum :exclamation:
:puppy:
Alternatively to the above manual selection procedure here a quick-fix for changing the default system locale.
You can set system language with this one-liner; as an example : to set to Turkish tr_TR and a 2nd availble locale to en_US:
( copy and paste into terminal command line this ugly long one-liner quick-fix locale changer :alien: )

Code: Select all

SET_LOCALE="tr_TR en_US"; sudo -k; set -x; sudo sed -i -E  "/^$/b; /(${SET_LOCALE// /|}).UTF-8 UTF-8/{s/^#*\s*//;b};  /^[^#]/s/^/# /;"  /etc/locale.gen;  grep -v '^#' /etc/locale.gen; sudo locale-gen ; sudo LANG="${SET_LOCALE%% *}.UTF-8" update-locale LANG="${SET_LOCALE%% *}.UTF-8"; cat /etc/default/locale ; grep -v '^#' /etc/locale.gen  ;  set +x
Adjust SET_LOCALE="tr_TR en_US" and change SET_LOCALE quoted string
to a space-separted list with all locales you want to be available with the system.
The first with the string will become the default system-locale.
examples:
SET_LOCALE="tr_TR de_DE fr_FR en_US"
SET_LOCALE="fr_FR en_US"
SET_LOCALE="es_AR es_ES en_US"
SET_LOCALE="es_AR es_ES es_MX en_US"
SET_LOCALE="nl_NL en_US de_DE"

:puppy:
EDIT: fixed set +/-x
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

skidoo
Forum Regular
Forum Regular
Posts: 915
Joined: Tue Sep 22, 2015 6:56 pm

Re: How to change the language system wide?

#5 Post by skidoo » Sun Oct 14, 2018 9:20 pm

What's up with the "downloader.vip" spam links within the OP's posts, both here and same (spam links) in OP's other posted topic?

User avatar
Gordon Cooper
Forum Guide
Forum Guide
Posts: 2151
Joined: Mon Nov 21, 2011 5:50 pm

Re: How to change the language system wide?

#6 Post by Gordon Cooper » Sun Oct 14, 2018 10:06 pm

Welcome, williamdosa. In recent months there have been several users from Turkey downloading MX. Hopefully one may read this forum thread and
be able to provide more language help.
Homebrew64 bit Intel duo core 2 GB RAM, 120 GB Kingston SSD, Seagate1TB.
Primary OS : MX-17.1 64bit. Also MX17, Kubuntu14.04 & Puppy 6.3.
Dell9010, MX-17.1, Win7

User avatar
Utopia
Forum Veteran
Forum Veteran
Posts: 3780
Joined: Sun Apr 29, 2007 11:53 am

Re: How to change the language system wide?

#7 Post by Utopia » Mon Oct 15, 2018 1:34 am

Spam links deleted.
Henry

Post Reply

Return to “MX Help”