Summary: | Choqok don't load translated string | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-ki18n | Reporter: | André Marcelo Alvarenga <alvarenga> |
Component: | general | Assignee: | Chusslove Illich <caslav.ilic> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | kdelibs-bugs-null, lueck, scarpino |
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Screenshot
x-test language |
Description
André Marcelo Alvarenga
2015-08-08 23:18:59 UTC
Created attachment 93955 [details]
Screenshot
There are a untranslated string in title too. (see screenshot)
String: Question
Created attachment 93968 [details] x-test language This is probably an error with the pt_BR translation itself because I just did a test with x-test language (http://blog.martin-graesslin.com/blog/2014/06/how-to-test-and-fix-translations-for-frameworks-5-applications/) and it works. (In reply to Andrea Scarpino from comment #2) > Created attachment 93968 [details] > x-test language > > This is probably an error with the pt_BR translation itself because I just > did a test with x-test language > (http://blog.martin-graesslin.com/blog/2014/06/how-to-test-and-fix- > translations-for-frameworks-5-applications/) and it works. Yes, you are right. This bug not related to choqok. Also not a pt_BR-choqok translations bug. There are a strange behaviour here. I' will try to explain. I've tested with x-text too and yes, works. My enviroment variables LANG and LANGUAGE: LANG=pt_BR.UTF-8 LANGUAGE=pt_BR When I run choqok with no pt (Portuguese, not Brazilian Portuguese) translations file, the string is untranslated. This also happens with "Update Timelines" string in toolbar button. If I compile a pt/choqok.mo and put it in ../locale/pt/LC_MESSAGE, the pt_BR translations works. With no pt translations, this two pt_BR strings is untranslated. Maybe a problem with pt (2 letters) and pt_BR (5 letters)? Just to few strings? when I run choqok from command line I get this message (after I click "No" button in first run dialog): [...] HSpellDict::HSpellDict: Init failed HunspellClient::HunspellClient No language dictionaries for the language: "pt" org.kde.choqok.lib: Current LANG: "pt" [...] Why pt language? This messages is displayed if i run choqok with LANG=pt_BR or LANGUAGE=pt_BR variables. There are others applications with similar problem: In Konsole, I need to delete pt/LC_MESSAGE/konsole.mo to show pt_BR translations in "Edit Current Profile" dialog (tabs strings). Krita shows pt translations in splash screen messages. @Burkhard - Do you have any idea? Which bug tracking component I can redirect this bug report? Thanks. I can not reproduce this problem here (tested with choqok and konsole in an virtual machine with Kubuntu 15.04) What is the content of your .config/plasma-localerc and .config/plasma-locale-settings.sh files? (In reply to Burkhard Lueck from comment #4) > I can not reproduce this problem here (tested with choqok and konsole in an > virtual machine with Kubuntu 15.04) > What is the content of your .config/plasma-localerc and > .config/plasma-locale-settings.sh files? I'm using Kubuntu 15.04 in an virtual machine too. .config/plasma-localerc : [Formats] LANG=pt_BR.UTF-8 [Translations] LANGUAGE=pt_BR .config/plasma-locale-settings.sh # Gererated script, do not edit # Exports language-format specific env vars from startkde. # This script has been generated from kcmshell5 formats. # It will automatically be overwritten from there. export LANG=pt_BR.UTF-8 export LANGUAGE=pt_BR Screencast with this problem: http://youtu.be/zQvHrzV13wc (In reply to André Marcelo Alvarenga from comment #6) > Screencast with this problem: http://youtu.be/zQvHrzV13wc I can't view the screencast, error message is: "Content Warning If the owner of this video has granted you access, please sign in. This video is private." (In reply to Burkhard Lueck from comment #7) > (In reply to André Marcelo Alvarenga from comment #6) > > Screencast with this problem: http://youtu.be/zQvHrzV13wc > > I can't view the screencast, error message is: > "Content Warning > If the owner of this video has granted you access, please sign in. > This video is private." Sorry. Changed to Public. Working with: - Choqok 1.6.0 - KDE Frameworks 5.52.0 - Qt 5.11.2 |