Re: how can I start MC in my language?



Hi, all! 
I've started mc in mongolian. But it looks like so! 
www.asuult.net/badaa/Screenshot_mc.png 
Is the UTF encoding not supported yet? or? 
I'm using SuSE8.1 with gnome2.2. :-)
And this locale has a error! 
If I type:
# localedef -f UTF-8 -i mn_MN mn_MN.UTF-8
LC_ADDRESS: `country_ab2' value does not match
`country_num' value
no output file produced because warning were issued
linux:~ #
But the the country_ab2 is mn correct. 
And country_num 496 also correct! I don't know, why
it's fatal.
I've deleted (or put %) this country_num line. Then it
works fine!
How can I use mc in mongolian? 

Thanks, 

Bers

--- Pavel Roskin <proski gnu org> wrote:
Hello!

I've installed latest version of MC. Fortunately,
Mongolian language was
added. How can I start the MC in my native
language? Please, help me.

You forgot to mention your operating system.  You
may find this document
helpful:

http://www.ibiblio.org/mc/MAILING_LISTS

The generic answer is that you should set your
locale, which is normally
done by setting the environment variable LANG.  More
details can be found
in the file ABOUT-NLS included with the Midnight
Commander distribution.
If you are using bash or another shell compatible
with Bourne shell, you
can use this command:

LANG=mn_MN mc

The problem is that glibc doesn't know this locale
yet as of version
2.3.2.  If you look in the glibc sources, there is
no file
localedata/locales/mn_MN.

Mandrake Linux distributes Mongolian locale.  If you
are using glibc, but
not Mandrake Linux, you may want to recompile glibc
with the mn_MN file
from the Mandrake package, which I'm attaching.

Shame to other posters who didn't bother to check
facts.

-- 
Regards,
Pavel Roskin> comment_char %
escape_char /
% Mongolian language (cyrillic) locale for Mongolia
% Sanlig Badral <badral chinggis com>
% Revision: 0.9 (2003-2-27)
% Charsets: UTF-8
% Distribution and use is free, also
% for commercial purposes.

LC_IDENTIFICATION
title      "Mongolian locale for Mongolia"
source     "Sanlig Badral"
address    ""
contact    ""
email      "badral chinggis com"
tel        ""
fax        ""
language   "Mongolian"
territory  "Mongolia"
revision   "0.9"
date       "2003-02-27"

category  "mn_MN:2000";LC_IDENTIFICATION
category  "mn_MN:2000";LC_CTYPE
category  "mn_MN:2000";LC_COLLATE
category  "mn_MN:2000";LC_TIME
category  "mn_MN:2000";LC_NUMERIC
category  "mn_MN:2000";LC_MONETARY
category  "mn_MN:2000";LC_MESSAGES
category  "mn_MN:2000";LC_PAPER
category  "mn_MN:2000";LC_NAME
category  "mn_MN:2000";LC_ADDRESS
category  "mn_MN:2000";LC_TELEPHONE

END LC_IDENTIFICATION

LC_COLLATE
copy "iso14651_t1"

% iso14651_t1 is missing Mongolian ue(straight u),
oe(barred o)
% like russian, but with <o-=> (<barred-o>) after
<o=> and
% <u'=>(straight u) after <u=>

collating-symbol <o-=>
collating-symbol <u'=>

reorder-after <CYR-O>
<o-=>
reorder-after <CYR-OUBRE>
<u'=>

reorder-after <U043E>
<U04E9> <o-=>;<PCL>;<MIN>;IGNORE
reorder-after <U041E>
<U04E8> <o-=>;<PCL>;<CAP>;IGNORE

reorder-after <U0443>
<U04AF> <u'=>;<PCL>;<MIN>;IGNORE
reorder-after <U0423>
<U04AE> <u'=>;<PCL>;<CAP>;IGNORE

reorder-end
END LC_COLLATE

LC_CTYPE
copy "i18n"
END LC_CTYPE

LC_MONETARY
int_curr_symbol     "<U004D><U004E><U0054><U0020>"
currency_symbol     "<U20AE>"
mon_decimal_point   "<U002E>"
mon_thousands_sep   "<U0020>"
mon_grouping        3;3
positive_sign       ""
negative_sign       "<U002D>"
int_frac_digits     2
frac_digits         2
p_cs_precedes       0
p_sep_by_space      1
n_cs_precedes       0
n_sep_by_space      1
p_sign_posn         1
n_sign_posn         1

END LC_MONETARY

LC_NUMERIC
decimal_point   "<U002C>"
thousands_sep   "<U002E>"
grouping        3;3
END LC_NUMERIC

LC_TIME
% Abbreviated weekday names (%a)
abday "<U041D><U044F>";"<U0414><U0430>";/
      "<U041C><U044F>";"<U041B><U0445>";/
      "<U041F><U04AF>";"<U0411><U0430>";/
      "<U0411><U044F>"
% Full weekday names (%A)
day   "<U041D><U044F><U043C>";/
      "<U0414><U0430><U0432><U0430><U0430>";/
      "<U041C><U044F><U0433><U043C><U0430><U0440>";/
      "<U041B><U0445><U0430><U0433><U0432><U0430>";/
      "<U041F><U04AF><U0440><U044D><U0432>";/
      "<U0411><U0430><U0430><U0441><U0430><U043D>";/
      "<U0411><U044F><U043C><U0431><U0430>"
% Abbreviated month names (%b)
abmon      
"<U0031><U002D><U0440>";"<U0032><U002D><U0440>";/
           
"<U0033><U002D><U0440>";"<U0034><U002D><U0440>";/
           
"<U0035><U002D><U0440>";"<U0036><U002D><U0440>";/
           
"<U0037><U002D><U0440>";"<U0038><U002D><U0440>";/
           

"<U0039><U002D><U0440>";"<U0031><U0030><U002D><U0440>";/
           

"<U0031><U0031><U002D><U0440>";"<U0031><U0032><U002D><U0440>"
% Full month names (%B)
mon        

"<U041D><U044D><U0433><U0434><U04AF><U0433><U044D><U044D><U0440><U0020><U0441><U0430><U0440>";/
           

"<U0425><U043E><U0451><U0440><U0434><U0443><U0433><U0430><U0430><U0440><U0020><U0441><U0430><U0440>";/
           

"<U0413><U0443><U0440><U0430><U0432><U0434><U0443><U0433><U0430><U0430><U0440><U0020><U0441><U0430><U0440>";/
           

"<U0414><U04E9><U0440><U04E9><U0432><U0434><U04AF><U0433><U044D><U044D><U0440><U0020><U0441><U0430><U0440>";/
           

"<U0422><U0430><U0432><U0434><U0443><U0433><U0430><U0430><U0440><U0020><U0441><U0430><U0440>";/
           

"<U0417><U0443><U0440><U0433><U0430><U0430><U0434><U0443><U0433><U0430><U0440><U0020><U0441><U0430><U0440>";/
           

"<U0414><U043E><U043B><U043E><U043E><U0434><U0443><U0433><U0430><U0430><U0440><U0020><U0441><U0430><U0440>";/
           

"<U041D><U0430><U0439><U043C><U0434><U0443><U0433><U0430><U0430><U0440><U0020><U0441><U0430><U0440>";/
           

"<U0415><U0441><U0434><U04AF><U0433><U044D><U044D><U0440><U0020><U0441><U0430><U0440>";/
           

"<U0410><U0440><U0430><U0432><U0434><U0443><U0433><U0430><U0430><U0440><U0020><U0441><U0430><U0440>";/
           

"<U0410><U0440><U0432><U0430><U043D><U043D><U044D><U0433><U0434><U04AF><U0433><U044D><U044D><U0440><U0020><U0441><U0430><U0440>";/
           

"<U0410><U0440><U0432><U0430><U043D><U0445><U043E><U0451><U0440><U0434><U0433><U0430><U0430><U0440><U0020><U0441><U0430><U0440>"
% Appropriate date and time representation
% "%a %d %b %Y %T %Z"
d_t_fmt

"<U0025><U0061><U0020><U0025><U0064><U0020><U0025><U0062><U0020><U0025><U0059><U0020><U0025><U0054><U0020><U0025><U005A>"

% Appropriate date representation
% "%Y.%m.%d"
d_fmt  

"<U0025><U0059><U002E><U0025><U006D><U002E><U0025><U0064>"
% Appropriate time representation
% "%T"
t_fmt   "<U0025><U0054>"
% Appropriate 12 h time representation (%r)
am_pm   "";""
t_fmt_ampm ""
% Full date and time representation
% "%a %b %e %H:%M:%S %Z %Y"
date_fmt 

"<U0025><U0061><U0020><U0025><U0062><U0020><U0025><U0065><U0020><U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053><U0020><U0025><U005A><U0020><U0025><U0059>"
END LC_TIME

LC_MESSAGES
yesexpr

"<U005E><U005B><U0442><U0422><U0079><U0059><U005D><U002E><U002A>"
noexpr 

"<U005E><U005B><U04AF><U04AE><U006E><U004E><U005D><U002E><U002A>"
END LC_MESSAGES

% Paper format
LC_PAPER
height   297
width    210
END LC_PAPER

LC_NAME
name_fmt   

"<U0025><U0064><U0025><U0074><U0025><U0067><U0025><U0074>/
<U0025><U006D><U0025><U0074><U0025><U0066>"

name_miss  

"<U0425><U0430><U0442><U0430><U0433><U0442><U0430><U0439>"
name_mr     "<U041D><U043E><U0451><U043D>"
name_mrs   

"<U0425><U0430><U0442><U0430><U0433><U0442><U0430><U0439>"
name_ms    

"<U0425><U0430><U0442><U0430><U0433><U0442><U0430><U0439>"
END LC_NAME

LC_ADDRESS
postal_fmt   

"<U0025><U0066><U0025><U004E><U0025><U0061><U0025><U004E>/

<U0025><U0064><U0025><U004E><U0025><U0062><U0025><U004E><U0025><U0073>/

<U0020><U0025><U0068><U0020><U0025><U0065><U0020><U0025><U0072><U0025>/

<U004E><U0025><U0025><U007A><U0020><U0025><U0054><U0025>/

=== message truncated ===


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]