https://bugs.kde.org/show_bug.cgi?id=385356
Mauro Carvalho Chehab <mchehab+...@kernel.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |CONFIRMED Ever confirmed|0 |1 --- Comment #2 from Mauro Carvalho Chehab <mchehab+...@kernel.org> --- I added limited support for Kaffeine to handle multi-language EPG. It will now store the language on its EPG database. On EPG, it will now show the title only at the first language. The detail window will have both languages (when multiple languages are available). On OSD, it will show the titles on both languages too (if are there enough space to display both on a single line). I didn't add yet an option to allow the user to select its default language. The reason is that there are a few things to be addressed: - The title is used by the Kaffeine's record system to check for duplicated records. with multi-language EPG support, switching the language should not invalidate existing records; - Where would be the best place to put a language selection menu? at program guide? As a button? As a sub-menu? - The languages are per EPG entry. If one has multiple Digital TV devices, it may want to select more than one language, with makes the logic very complex; - The ISO-639 language code at the parental control is actually per Country. So, on the stream you provided me, there's just one language: FIN; while for title/subheader/details, there are two: SWE and FIN. I suspect that, on some places, the code there can be actually different than the language options. So, I need to think a little bit more in order to see how to better address a language selection menu. There's one drawback on this patchset: if you have already an EPG database stored at ~/.local/share/kaffeine/epgdata.dvb, it will be able to read the old format, but, as it doesn't know the language, it will add the already existing data as a new language ("first") during the initial database import. I opted to do that in order to not break program recordings for people that upgrade Kaffeine to some version after the language patches. Of course, after a few days, the EPG data will be obsoleted. Anyway, the patches that should be addressing this issue are at: https://cgit.kde.org/kaffeine.git/commit/?id=31710fa98bf60eb1a3df250c2f81cc0213171ebf https://cgit.kde.org/kaffeine.git/commit/?id=dbb2550baebc5a22d7e31dd034ed4cacf964f723 Please test. -- You are receiving this mail because: You are watching all bug changes.