Choosing correct locale

New to Debian (Or Linux in general)? Ask your questions here!

Choosing correct locale

Postby infestor » 2017-05-01 15:58

i would like to use debian in english (us) and i live in turkey (so currency, date etc. i would like them to be in turkish formats).
before i start my debian installation...which locale should i choose?

PS: right now the installer tells me that there is no locale for according to my language and country selection, so it suggest en_US.UTF-8.
Last edited by infestor on 2017-05-01 16:20, edited 2 times in total.
User avatar
Posts: 170
Joined: 2012-02-07 22:18
Location: Wasteland

Re: Choosing correct locale

Postby phenest » 2017-05-01 16:15

If you install Gnome, that's perfectly possible. You can select language, formats and keyboard layouts independently.
NEC Spirit 550 P4 3.8GHz HT - 2GB RAM - nVidia 7600GT - Pioneer BDR-209DBK
ASUS Sabertooth P67 i7 3770K - 32GB RAM - 2x nVidia 660GTX SLI'd
User avatar
Posts: 1571
Joined: 2010-03-09 09:38
Location: The Matrix

Re: Choosing correct locale

Postby peter_irich » 2017-05-01 16:19

You can choose English locale and after installation set the desired settings in /etc/default/locale.
For example, LANG will be en_US.UTF-8 and set in turkey what you need only.
man -a locale
man localdef

Posts: 1227
Joined: 2009-09-10 20:15
Location: Saint-Petersburg, Russian Federation

Re: Choosing correct locale

Postby ruffwoof » 2017-05-02 01:50

I use

dpkg-reconfigure keyboard-configuration
dpkg-reconfigure locales
dpkg-reconfigure tzdata

and if ntp (time server) is installed it all works as expected.

With one of them you have to deselect the existing choice(s) using the scroll down ... and use the space bar to select the alternative ... i.e. old DOS like textual selection interface. There are commands to restart things ... but I tend to just shutdown/reboot into the new settings.

In LXDE there is a Keyboard Layout Handler panel item that can be added to the panel where you can add different countries to that, and a simple click on the panel icon switches through the set selections one by one.
Debian Stretch
Acer Aspire M3201 (2GB), Radeon HD3200, AMD Phenom X4
Posts: 238
Joined: 2016-08-20 21:00

Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 8 guests