Package: frozen-bubble
Followup-For: Bug #701556

It works for me, try the patch included in this message. 
I have this locale settings 

LANG=ru_RU.UTF-8
LANGUAGE=
LC_CTYPE="ru_RU.UTF-8"
LC_NUMERIC="ru_RU.UTF-8"
LC_TIME="ru_RU.UTF-8"
LC_COLLATE="ru_RU.UTF-8"
LC_MONETARY="ru_RU.UTF-8"
LC_MESSAGES="ru_RU.UTF-8"
LC_PAPER="ru_RU.UTF-8"
LC_NAME="ru_RU.UTF-8"
LC_ADDRESS="ru_RU.UTF-8"
LC_TELEPHONE="ru_RU.UTF-8"
LC_MEASUREMENT="ru_RU.UTF-8"
LC_IDENTIFICATION="ru_RU.UTF-8"
LC_ALL=

Please, recheck this. Maybe you have done something incorrect?
If you looked into contents of patch, it now also honors $LANG, not only 
$LANGUAGE.

After patching I see Russian language, if I install default package it will
 be in English.

Thanks
Description: Fixes translations

--- frozen-bubble-2.212.orig/lib/Games/FrozenBubble/Stuff.pm
+++ frozen-bubble-2.212/lib/Games/FrozenBubble/Stuff.pm
@@ -1,13 +1,13 @@
 package Games::FrozenBubble::Stuff;
 
 use Games::FrozenBubble::CStuff;
-# use Games::FrozenBubble::Config;
+use Games::FrozenBubble::Config;
 use Locale::Maketext::Simple;
 use File::ShareDir qw(dist_dir);
 
-Locale::Maketext::Simple->import(Path => dist_dir('Games-FrozenBubble')."/locale", Style => 'gettext', Export => 'gettext');
+Locale::Maketext::Simple->import(Path => "$FPATH/locale", Style => 'gettext', Export => 'gettext');
 ###passing language to Locale::Maketext::Simple
-my ($lang) = split(':', $ENV{LANGUAGE});
+my ($lang) = split(':', $ENV{LANGUAGE} || $ENV{LANG});
 gettext_lang($lang);
 
 use vars qw(@ISA @EXPORT $FPATH $FLPATH $FBHOME $FBLEVELS $colourblind %POS_1P %POS_2P %POS_MP $BUBBLE_SIZE $ROW_SIZE

Reply via email to