[Konversation-devel] [Bug 245417] wrong language fallback

kavol kavol at seznam.cz
Thu Jul 29 17:04:42 CEST 2010


https://bugs.kde.org/show_bug.cgi?id=245417





--- Comment #13 from kavol <kavol seznam cz>  2010-07-29 17:04:39 ---
(In reply to comment #12)
> I have no idea how ru found its way into the global configuration file, if
> not by someone sometime putting it there. Perhaps in a previous installation
> of the system, which had Russian installed too?

really don't know, yes, it is possible that I had Russian installed & enabled
in the (far) past ...

> I think that the problem with empty line in kcmshell4 language is that the
> base Russian translation files for KDE are not installed, and yet the
> language is found in configuration file. To verify this, check whether the
> following two files exist on your system:
> 
>   /usr/share/locale/ru/entry.desktop
>   /usr/share/locale/ru/LC_MESSAGES/kdelibs4.mo
> 
> If not (expected),

yes, they are not there:
$ LANG=en ls /usr/share/locale/ru/entry.desktop
/usr/share/locale/ru/LC_MESSAGES/kdelibs4.mo
ls: cannot access /usr/share/locale/ru/entry.desktop: No such file or directory
ls: cannot access /usr/share/locale/ru/LC_MESSAGES/kdelibs4.mo: No such file or
directory

> could you actually install Russian language package and
> check if it is now normally displayed in kcmshell4 language?

yes, after installing kde-l10n-Russian it says "Ruský"

> If this all
> checks out, we should see how to handle "unknown" languages wrt. current
> installation.

... just to take the string from "all_languages" file?

> As for the application showing global language setting if its own is not
> set, without any indication of the globality, I agree that this is not very
> nice. It is a consequence of default configuration behavior, which is
> cascading: no [Locale] section in application's configuration file, hence
> the global one is fetched. I don't know how this could be implemented
> technically (i.e. detect whether the setting is own or global, indicate in
> UI if global).

well, now I guess this has more to do with another report, bug #230108 ...

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Konversation-devel mailing list