diff -ru fluxbox-0.9.13.orig/configure.in fluxbox-0.9.13/configure.in --- fluxbox-0.9.13.orig/configure.in 2005-05-13 19:14:16 +0700 +++ fluxbox-0.9.13/configure.in 2005-05-15 01:06:50 +0700 @@ -638,7 +638,9 @@ nls/et_EE/Makefile nls/fr_FR/Makefile nls/pt_BR/Makefile -nls/ru_RU/Makefile +nls/ru_RU.CP1251/Makefile +nls/ru_RU.KOI8-R/Makefile +nls/ru_RU.UTF-8/Makefile nls/sv_SE/Makefile nls/tr_TR/Makefile nls/pt_PT/Makefile diff -ru fluxbox-0.9.13.orig/nls/Makefile.am fluxbox-0.9.13/nls/Makefile.am --- fluxbox-0.9.13.orig/nls/Makefile.am 2005-04-30 01:23:12 +0700 +++ fluxbox-0.9.13/nls/Makefile.am 2005-05-15 01:12:40 +0700 @@ -2,9 +2,10 @@ LOCALE_PATH = @LOCALE_PATH@ NLSTEST = @NLS@ -SUBDIRS = C cs_CZ da_DK es_ES et_EE fr_FR pt_BR ru_RU \ +SUBDIRS = C cs_CZ da_DK es_ES et_EE fr_FR pt_BR \ sv_SE tr_TR it_IT pt_PT bg_BG ja_JP ko_KR \ - lv_LV de_DE nl_NL sl_SI pl_PL vi_VN be_BY uk_UA + lv_LV de_DE nl_NL sl_SI pl_PL vi_VN be_BY uk_UA \ + ru_RU.CP1251 ru_RU.KOI8-R ru_RU.UTF-8 MAINTAINERCLEANFILES = Makefile.in fluxbox-nls.hh EXTRA_DIST=fluxbox-nls.hh nlsinfo diff -ru fluxbox-0.9.13.orig/src/FbTk/I18n.cc fluxbox-0.9.13/src/FbTk/I18n.cc --- fluxbox-0.9.13.orig/src/FbTk/I18n.cc 2005-01-25 00:57:00 +0600 +++ fluxbox-0.9.13/src/FbTk/I18n.cc 2005-05-15 01:11:15 +0700 @@ -91,6 +91,7 @@ if (MB_CUR_MAX > 1) m_multibyte = true; + if(! (strncmp(m_locale.c_str(), "ru_RU", 5) == 0)) { // truncate any encoding off the end of the locale // remove everything after @ @@ -105,6 +109,7 @@ index = m_locale.find('='); if (index != string::npos) m_locale.erase(0,index+1); //erase all characters starting up to index + } } #endif // HAVE_SETLOCALE }