Skip navigation.
Home
Now Shipping Version 7.0

How to add bg_BG.cp1251 locale


Posts: 3

I am from Bulgaria and I wont to read and write in Bulgarian in SympleMepis 6.0.
I install kde-i18n-bg but it add only bg_BG.UTF8 ans some old programs need bg_BG.cp1251 locale to work.I am looking for locales.gen to edit it and to run locales-gen to generate new locale in Mepis but can not find this file.Someone can help me?

drlizau's picture

mepis 6.0 locales

mepis 6.0 doesn't have /etc/locale.gen. I tried dpkg-reconfigure locale but it didn't make any bulgarian locales. Anyone got more ideas?

Solution

Create as root a file /var/lib/locales/supported.d/bg where add these lines:
bg_BG.CP1251 CP1251
bg_BG.UTF-8 UTF-8
bg_BG CP1251
save it and then do as root dpkg-reconfigure locales.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.