In krita 4.0.0 the UI is always displayed in English. Translations are correctly installed in /usr/share/locale/*/LC_MESSAGES/krita.mo, running krita from the command line shows "Setting Krita's language to: QLocale(Spanish, Latin, Spain) ", but all the strings are in English. Tested with es_ES and fr_FR locales.
Did you build Krita yourself? And was it built from a release tarball or from git? And could you add the complete terminal output from starting Krita until the main window appears?
Oh, and the exact version of Qt and ki18n are also important.
Built from the release tarball. Tested with Qt 5.10.1 and 5.11 beta, ki18n 5.44 Terminal output: > krita >OpenGL Info Vendor: Intel Open Source Technology Center Renderer: "Mesa DRI Intel(R) Haswell Mobile " Version: "3.0 Mesa 17.3.6" Shading language: 1.30 Requested format: QSurfaceFormat(version 3.0, options QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 0, colorSpace QSurfaceFormat::ColorSpace(DefaultColorSpace), profile QSurfaceFormat::OpenGLContextProfile(CompatibilityProfile)) Current format: QSurfaceFormat(version 3.0, options QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 0, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 0, colorSpace QSurfaceFormat::ColorSpace(DefaultColorSpace), profile QSurfaceFormat::OpenGLContextProfile(NoProfile)) Version: 3.0 Supports deprecated functions true is OpenGL ES: false krita has opengl true Setting XDG_DATA_DIRS "/usr/bin/../share:/usr/share:/usr/share:/usr/local/share" Available translations QSet("de", "uz@cyrillic", "ro", "sv", "zh_TW", "oc", "fa", "is", "cy", "zh_CN", "ko", "fi", "pa", "lv", "nb", "mai", "mr", "en_US", "br", "eu", "ca@valencia", "ja", "gl", "sq", "ca", "sl", "pt_BR", "hne", "he", "bs", "se", "uz", "fr", "ga", "ms", "hu", "th", "kk", "ta", "ru", "et", "ia", "tr", "en_GB", "sk", "it", "pt", "hr", "nds", "ar", "nn", "pl", "hi", "be", "ne", "vi", "wa", "xh", "af", "lt", "uk", "cs", "bg", "el", "nl", "eo", "km", "fy", "da", "mk", "ug", "tg", "es", "ast") Available domain translations QSet("de", "uz@cyrillic", "ro", "sv", "zh_TW", "oc", "fa", "is", "cy", "zh_CN", "ko", "fi", "pa", "lv", "nb", "mai", "mr", "en_US", "br", "eu", "ca@valencia", "ja", "gl", "sq", "ca", "sl", "pt_BR", "hne", "he", "bs", "se", "uz", "fr", "ga", "ms", "hu", "th", "kk", "ta", "ru", "et", "ia", "tr", "en_GB", "sk", "it", "pt", "hr", "nds", "ar", "nn", "pl", "hi", "be", "ne", "vi", "wa", "xh", "af", "lt", "uk", "cs", "bg", "el", "nl", "eo", "km", "fy", "da", "mk", "ug", "tg", "es", "ast") Override language: "" Setting Krita's language to: QLocale(Spanish, Latin, Spain) Invalid profile : "/usr/share/color/icc/colord/Crayons.icc" "Crayon Colors" Invalid profile : "/usr/share/color/icc/colord/x11-colors.icc" "X11 Colors" Loading plugin "/usr/lib/kritaplugins/kritalutdocker.so" failed, "No se puede cargar la biblioteca /usr/lib/kritaplugins/kritalutdocker.so: (libOpenColorIO.so.1: no se puede abrir el fichero del objeto compartido: No existe el fichero o el directorio)" input profiles were read from ' /usr/share/krita/input '. Loading Python plugin "/usr/lib/libpython3.6m.so.1.0" true Creating s_pythonLibrary /usr/lib/libpython3.6m.so Found krita-python-libs at "/usr/lib/krita-python-libs" Setting python paths: "/home/antonio/.local/share/krita/:/usr/share/krita/:/home/antonio/.local/share/krita/pykrita/:/usr/share/krita/pykrita/:/usr/share/pykrita/:/usr/lib/krita-python-libs" /usr/lib/krita-python-libs/krita added to PYTHONPATH Button KoToolBoxButton(0x5579f92dd4d0, name="SvgTextTool") has a conflicting priority krita.general: Could not find font QVariant(QString, "Source Sans Pro") with style QVariant(QString, "Regular") krita.general: Could not find font QVariant(QString, "Source Sans Pro") with style QVariant(QString, "Bold") krita.general: Could not find font QVariant(QString, "Source Sans Pro") with style QVariant(QString, "Regular") krita.general: Could not find font QVariant(QString, "Source Sans Pro") with style QVariant(QString, "Regular") krita.general: Could not find font QVariant(QString, "Source Sans Pro") with style QVariant(QString, "Regular") krita.general: Could not find font QVariant(QString, "Source Sans Pro") with style QVariant(QString, "Light") krita.general: Could not find font QVariant(QString, "Source Sans Pro") with style QVariant(QString, "Regular") falling back on QIcon::FromTheme: "edit-clear-locationbar-rtl" file:///usr/lib/qt/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/preset-switcher file:///usr/lib/qt/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/opacity-decrease file:///usr/lib/qt/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/opacity-increase file:///usr/lib/qt/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/lightness-increase file:///usr/lib/qt/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/lightness-decrease file:///usr/lib/qt/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/zoom-in file:///usr/lib/qt/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/rotate-canvas-left file:///usr/lib/qt/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/rotation-reset file:///usr/lib/qt/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/rotate-canvas-right file:///usr/lib/qt/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/zoom-out file:///usr/lib/qt/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/brushsize-decrease file:///usr/lib/qt/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/brushsize-increase file:///usr/lib/qt/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/edit-clear
Okay, so the translations are found. That's different from what I see with the appimage or on osx... Does it work to manually select the language in the settings/select language dialog?
Yes, it works when manually selecting the language
Okay.
Git commit dbd65ef7296f9cb1db4f985fa6c3b5d1eb9106ea by Boudewijn Rempt. Committed on 18/03/2018 at 14:28. Pushed by rempt into branch 'master'. Only set the LANG variable if the system is not Windows M +8 -8 krita/main.cc https://commits.kde.org/krita/dbd65ef7296f9cb1db4f985fa6c3b5d1eb9106ea
Git commit 3d56e134325691588bec75925ce1da9b564ab05a by Boudewijn Rempt. Committed on 18/03/2018 at 14:33. Pushed by rempt into branch 'krita/4.0'. Only set the LANG variable if the system is not Windows (cherry picked from commit dbd65ef7296f9cb1db4f985fa6c3b5d1eb9106ea) M +8 -8 krita/main.cc https://commits.kde.org/krita/3d56e134325691588bec75925ce1da9b564ab05a