Bug 368428

Summary: Choose language
Product: [Applications] kdenlive Reporter: farid <snd.noise>
Component: User InterfaceAssignee: Jean-Baptiste Mardelle <jb>
Status: RESOLVED NOT A BUG    
Severity: wishlist CC: lueck, vpinon, wegwerf-1-2-3
Priority: NOR Flags: snd.noise: low_hanging+
Version: 16.08.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description farid 2016-09-08 02:12:37 UTC
would it be possible to choose from the interface the language of kdenlive? currently it detects the system language and applies it if there is a translation but i like mine to be in english while another user would like it in portuguese for example. 

is this possible?

Reproducible: Always
Comment 1 Jean-Baptiste Mardelle 2016-09-08 07:11:17 UTC
If you have the translations file installed, in Kdenlive go to:
Help > Switch Application Language
Comment 2 farid 2016-09-08 22:26:24 UTC
(In reply to Jean-Baptiste Mardelle from comment #1)
> If you have the translations file installed, in Kdenlive go to:
> Help > Switch Application Language

nothing appears... the way it is at the moment part of the interface is in english and the other in portuguese. 

it would be great to be able to switch languages to maybe in Configure Kdenlive > Misc 

but this is a low priority thing maybe we can ask some new dev interested to do it in case you wanna focus in more important stuff. :)
Comment 3 Wegwerf 2016-10-08 16:11:44 UTC
Cannot reproduce: on Kubuntu 16.04LTS with all updates installed, "Switch Application Language" shows a dialog with primary language and fallback languages; and I see "American English", "British English", as well as my native tongue. So this seem to work correctly. Maybe another distro/packaging issue? Plasma integration issue on non KF5-native systems?
Comment 4 farid 2016-10-09 01:13:05 UTC
Wegwerf I installed plasma to see if this works and no success. I don't consider this a resolved issue. If it is a packaging thing then we should state which package gives this functionality...
Comment 5 Vincent PINON 2016-12-05 06:15:37 UTC
from shell you could run "LANG=pt_BR kdenlive" to force the Brazilian translation.
then if it still shows a mix of English then check if the latest translation is up to date:

mkdir -p ~/.local/share/locale/pt_BR/LC_MESSAGES
wget https://websvn.kde.org/*checkout*/trunk/l10n-kf5/pt_BR/messages/kdemultimedia/kdenlive.po
msgfmt kdenlive.po -o ~/.local/share/locale/pt_BR/LC_MESSAGES/kdenlive.mo
Comment 6 Vincent PINON 2016-12-05 06:17:58 UTC
sorry if you want to keep English, then "LANG=C kdenlive" is the right command
Comment 7 Burkhard Lück 2016-12-05 06:27:12 UTC
in qt5/kf5 you have to use "LANGUAGE=pt_BR kdenlive"
Comment 8 farid 2016-12-05 19:50:10 UTC
LANG=C kdenlive is the solution. Is it complicated to have a combobox maybe in the gui to choose the language?
Comment 9 Christoph Feck 2016-12-07 17:16:40 UTC
The workarounds using the environment variable do not address the problem from comment #2.

kdenlive uses the KDE translations, and if they do not show up in the list of available languages for the application (using the steps explained in comment #1), then this needs to be fixed there.

I suggest to report this issue to the bug tracker of your distribution. They can check if the translation files get installed in the correct paths.
Comment 10 farid 2016-12-08 15:07:22 UTC
Christoph, I have reported it at the archlinux tracker.
Comment 11 farid 2016-12-08 15:44:11 UTC
It seems that only after installing the pt_br package that i have the option to choose the en_us. It seems to be straightforward once this is fixed. Although I believe the language selection should be in the settings and not in help...

Closing, thanks for the help :)