Opened 6 years ago

Closed 5 years ago

Last modified 5 years ago

#13312 closed Bug Report - General (Fixed)

Language settings problem

Reported by: yianniv Owned by: Peter Bennett
Priority: minor Milestone: 30.0
Component: MythTV - General Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Hi,

when changing language settings for one host it affects all others, too.

I usually have all settings in Greek, but I had to change one frontend to English to download movie info (it doesn't default to English when local language is not available since the api 3 change) and I realised that upon restarting other frontends they had changed to English, too.

Best regards,

Yianni

MythTV Version : v30-Pre-670-gbc20ba5a9a-dirty
MythTV Branch : master
Network Protocol : 91
Library API : 30.20180319-1
QT Version : 5.11.1
Options compiled in:
 linux profile use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_bindings_php using_dvb using_frontend using_vbox using_ceton using_hdpvr using_libcrypto using_libfftw3 using_libxml2 using_lirc using_mheg using_opengl using_opengl_video using_opengl_themepainter using_qtwebkit using_qtscript using_qtdbus using_taglib using_v4l2 using_x11 using_xrandr using_xv using_profiletype using_bindings_perl using_bindings_python using_bindings_php using_freetype2 using_mythtranscode using_opengl using_vaapi using_vdpau using_ffmpeg_threads using_mheg using_libass using_libxml2 using_libmp3lame

Change History (9)

comment:1 Changed 6 years ago by Peter Bennett

This is the way it has been designed. I assume that is because most people wanted to be able to set language once and not have to set it again on each front end.

For your special case you can put an override on the mythfrontend command for the frontend where you want a different language. For example: mythfrontend -O Language=en_US

Please make sure to use en_US not en. There is a bug where using -O Language=en actually causes the language for all frontends to be updated.

Last edited 6 years ago by Peter Bennett (previous) (diff)

comment:2 Changed 6 years ago by Peter Bennett

Owner: set to Peter Bennett
Status: newaccepted
Summary: Language settings affect all hosts, not just the currentLanguage settings problem

Assigning it to me to fix the bug where if you use -O Language=en the database language gets updated.

comment:3 Changed 6 years ago by sphery

comment:4 Changed 6 years ago by yianniv

Thanks for your answer, but I'm pretty sure this wasn't the initial design. I can't pinpoint the change though. I just remember that I used to do the same (change language on one frontend, mainly to check the translations) and the others remained unchanged.

I will use the solution you provided, it's very helpful, but it doesn't help the simple user that wants to change his/her own frontend without affecting the rest of the house. I'd be upset if my children did that, actually. On the other hand, no simple user installs mythtv...

comment:5 Changed 6 years ago by Peter Bennett

Please read the link provided by sphery above

[bf6fc7cd39af46030]

comment:6 Changed 6 years ago by yianniv

Thank you, Peter, Mike already sent me a message regarding the post which I'd failed to see prior to answering you.

I didn't want to keep posting in this ticket (since it's not a mailing list and tickets had been locked in the past for this) so I refrained from that.

As I said in the post to Mike, "Personally, I think the initial design was better, i.e. more flexible without having to resort to command line options, but if the change is better for the program, well, the devs know better. "

Best regards,

Yianni.

comment:7 Changed 5 years ago by Peter Bennett

Resolution: Fixed
Status: acceptedclosed

comment:8 Changed 5 years ago by Peter Bennett <pbennett@…>

In 463957e61b/mythtv:

Fix bug is setting override for language

The -O option allow a temporary per-session override of a setting.
It should not update the settings table. However -O Language=en was
updating the settings table to Language en_US.

Refs #13312

comment:9 Changed 5 years ago by Stuart Auchterlonie

Milestone: needs_triage30.0
Note: See TracTickets for help on using tickets.