Comment 2 for bug 364253

Revision history for this message
Skeletonix (tomaskloucek) wrote :

perhaps is the problem in gtkspell.c:

---------
# if (lang == NULL) {
# lang = g_getenv("LANG");
# if (lang) {
# if (g_strncasecmp(lang, "C", 1) == 0)
# lang = NULL;
# else if (lang[0] == 0)
# lang = NULL;
# }
# }
---------

starts if (g_strncasecmp(lang, "C", 1) == 0)

If language (LANG) starts by C (cs_CZ), gtkspell send error report (Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale.)) and doesn't properly recognise language.

Maybe this can help. This idea is not from my head: http://klicha.blogspot.com/2008/11/gtkspell-cestina-fungovalo-to-vubec.html