[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
make with po files fails due to missing C.UTF-8 locale
From: |
Andrey Borzenkov |
Subject: |
make with po files fails due to missing C.UTF-8 locale |
Date: |
Sat, 25 Jan 2014 20:52:16 +0400 |
make[2]: Вход в каталог `/home/bor/build/grub/po'
LC_ALL=C.UTF-8 msginit -i ./grub.pot --no-translator -l address@hidden -o -
2>/dev/null | LC_ALL=C.UTF-8 msgconv -t UTF-8 | LC_ALL=C.UTF-8 msgfilter -o
./address@hidden -i - sed -f ./cyrillic.sed
msgfilter: warning: Locale charset "ANSI_X3.4-1968" is different from
input file charset "UTF-8".
Output of 'msgfilter' might be incorrect.
Possible workarounds are:
- Set LC_ALL to a locale with encoding UTF-8.
- Convert the translation catalog to ASCII using 'msgconv',
then apply 'msgfilter',
then convert back to UTF-8 using 'msgconv'.
/usr/bin/sed: file ./cyrillic.sed line 13: strings for `y' command are
different lengths
msgfilter: sed subprocess terminated with exit code 1
make[2]: *** address@hidden Ошибка 1
make[2]: Выход из каталога `/home/bor/build/grub/po'
make[1]: *** address@hidden Ошибка 2
make[1]: Выход из каталога `/home/bor/build/grub/po'
The problem is, C.UTF-8 seems to be Debian specific; neither openSUSE
(which I have) nor Fedora (as can be seen from
https://bugzilla.redhat.com/show_bug.cgi?id=902094) provide it.
May be we should not force any specific locale and just mention in
INSTALL that during installation locale with UTF-8 codeset should be
used.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- make with po files fails due to missing C.UTF-8 locale,
Andrey Borzenkov <=