Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Using a locale in a way that language is en, locale is TR
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
adirakun
n00b
n00b


Joined: 24 Oct 2017
Posts: 2

PostPosted: Tue Oct 24, 2017 8:36 am    Post subject: Using a locale in a way that language is en, locale is TR Reply with quote

I am trying to use Turkish locale but I do not want to use Turkish language with my system. Basically, as the title says, I want to use en_TR locale which does not exist. How can I manage it?

Edit. I want to make use of all special Turkish characters such as ö,ç,ş,i,ğ,ü etc.
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7071

PostPosted: Tue Oct 24, 2017 10:17 am    Post subject: Reply with quote

did you try to set locale in english while using turkish charmap?
i mean setting,
Code:
cat /etc/localegen
en_GB whatever_turkish_set_to_use

But you should just try the UTF-8 set instead, and make the system just in engish utf8 and it should be able to display the turkish chars
Code:
cat /etc/localegen
en_GB UTF-8

ps: remember you have to run locale-gen and eselect local set en_GB before using it.
That's for "display" language, i think the "typing these chars" depend on the charmap use by the keyboard (which is set in /etc/conf.d/keymaps and should match turkish set).
Back to top
View user's profile Send private message
adirakun
n00b
n00b


Joined: 24 Oct 2017
Posts: 2

PostPosted: Tue Oct 24, 2017 11:59 am    Post subject: Reply with quote

Yeah it works and I can type Turkish charset with that locale. However, as it might not be that important, date-time formats, currencies and other local stuff depending the region is not proper. I think I can do it by combining en_GB and tr_TR locals but don't want to mess up because of one arguably would not need these.
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7071

PostPosted: Tue Oct 24, 2017 12:18 pm    Post subject: Reply with quote

do "locale" you will see list of locale, where time/date is use thru "LC_TIME", that you could set to a more european dd/mm/yy instead of mm/dd/yy format
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum