By default I have such settings: $ env | grep -i lang LANG=pl_PL.UTF-8 LANGUAGE=en_US:pl I run any KDE application and I see interface in English. OK. I expected this. I made some test. In Konsole I set LANGUAGE environment variable and exported it like this: export LANGUAGE=pl_PL:pl After that I run some application. I tested following: kwrite, okular, dolphin, gwenview, konsole and in all of them I have interface in language related to variable set before, so in polish. Only when I run Kate I see English. Which variable respects Kate, and why ignore "LANGUAGE"?
Do you have the translations for Kate installed?
Yes I do. I have installed translation for kate. In my distribution kate package is provided with all translation inside. $ pacman -Q kate kate 17.12.1-1 $ pacman -Ql kate | grep pl/ | grep .mo kate /usr/share/locale/pl/LC_MESSAGES/kate-ctags-plugin.mo kate /usr/share/locale/pl/LC_MESSAGES/kate-replicode-plugin.mo kate /usr/share/locale/pl/LC_MESSAGES/kate.mo kate /usr/share/locale/pl/LC_MESSAGES/katebacktracebrowserplugin.mo kate /usr/share/locale/pl/LC_MESSAGES/katebuild-plugin.mo kate /usr/share/locale/pl/LC_MESSAGES/katecloseexceptplugin.mo kate /usr/share/locale/pl/LC_MESSAGES/katefilebrowserplugin.mo kate /usr/share/locale/pl/LC_MESSAGES/katefiletree.mo kate /usr/share/locale/pl/LC_MESSAGES/kategdbplugin.mo kate /usr/share/locale/pl/LC_MESSAGES/katekonsoleplugin.mo kate /usr/share/locale/pl/LC_MESSAGES/kateopenheader.mo kate /usr/share/locale/pl/LC_MESSAGES/kateproject.mo kate /usr/share/locale/pl/LC_MESSAGES/katesearch.mo kate /usr/share/locale/pl/LC_MESSAGES/katesnippetsplugin.mo kate /usr/share/locale/pl/LC_MESSAGES/katesql.mo kate /usr/share/locale/pl/LC_MESSAGES/katesymbolviewer.mo kate /usr/share/locale/pl/LC_MESSAGES/katetextfilter.mo kate /usr/share/locale/pl/LC_MESSAGES/katexmlcheck.mo kate /usr/share/locale/pl/LC_MESSAGES/katexmltools.mo kate /usr/share/locale/pl/LC_MESSAGES/kterustcompletion.mo kate /usr/share/locale/pl/LC_MESSAGES/ktexteditorpreviewplugin.mo kate /usr/share/locale/pl/LC_MESSAGES/plasma_applet_org.kde.plasma.katesessions.mo kate /usr/share/locale/pl/LC_MESSAGES/tabswitcherplugin.mo $ pwd /usr/share/locale/pl/LC_MESSAGES $ ls -l | grep "kate.*mo$" -rw-r--r-- 1 root root 3963 01-09 23:22 katebacktracebrowserplugin.mo -rw-r--r-- 1 root root 5588 01-09 23:22 katebuild-plugin.mo -rw-r--r-- 1 root root 1826 01-09 23:22 katecloseexceptplugin.mo -rw-r--r-- 1 root root 4723 01-09 23:22 kate-ctags-plugin.mo -rw-r--r-- 1 root root 1572 01-09 23:22 katefilebrowserplugin.mo -rw-r--r-- 1 root root 6575 01-09 23:22 katefiletree.mo -rw-r--r-- 1 root root 3762 01-09 23:22 kategdbplugin.mo -rw-r--r-- 1 root root 2296 01-09 23:22 katekonsoleplugin.mo -rw-r--r-- 1 root root 27616 01-09 23:22 kate.mo -rw-r--r-- 1 root root 2092 01-09 23:22 kateopenheader.mo -rw-r--r-- 1 root root 2436 01-09 23:22 kateproject.mo -rw-r--r-- 1 root root 5733 01-09 23:22 kate-replicode-plugin.mo -rw-r--r-- 1 root root 7952 01-09 23:22 katesearch.mo -rw-r--r-- 1 root root 8774 01-09 23:22 katesnippetsplugin.mo -rw-r--r-- 1 root root 7127 01-09 23:22 katesql.mo -rw-r--r-- 1 root root 2884 01-09 23:22 katesymbolviewer.mo -rw-r--r-- 1 root root 2439 01-09 23:22 katetextfilter.mo -rw-r--r-- 1 root root 1280 01-09 23:22 katexmlcheck.mo -rw-r--r-- 1 root root 2707 01-09 23:22 katexmltools.mo -rw-r--r-- 1 root root 1075 01-09 23:22 plasma_applet_org.kde.plasma.katesessions.mo -rw-r--r-- 1 root root 830 01-02 19:40 plasma_runner_katesessions.mo
Is there a possibility that you have changed/set the language in the Help -> Switch application language ? /Kåre
@Kåre Särs Of course there is such possibility. I made one more test. Ok. When I changed translation manually to polish (in Primary) then after I restarted application I got polish language in kate. I restored setting of LANGUAGE to en_US:pl and kate still had polish language in interface, whereas kwrite is in English. It's mean that exists some option stored in some configuration file (I wasn't able to find it in ~/.config/katerc) that has higher priority than settings of environment and probably I used it in the past, so that's why every time I see English in kate interface. Now I only wonder where is placed this option and how it calls. Anyway issue solved. Actually it wasn't bug.
OK, Thanks for the info, I actually do not know on the top of my head either :) Closing this bug.