Untranslated titles shown in mate-control-center

Bug #1594959 reported by Jung-Kyu Park on 2016-06-21
40
This bug affects 7 people
Affects Status Importance Assigned to Milestone
ubuntu-mate
Undecided
Unassigned
mate-control-center (Ubuntu)
Undecided
Unassigned

Bug Description

Untranslated title is shown at mate-control-center ,
which is shown correctly in panel's dropdown menu,
I think MATE uses same translation file of Transifex though,
it is only affected to mate-control-center , since panel's dropdown menu shows correctly
please, see the screenshot (16.10 Ubuntu MATE)
I think it might be treated as untranslatable in related code.
please, check it

Jung-Kyu Park (bagjunggyu) wrote :
Martin Wimpress (flexiondotorg) wrote :

What version of Ubuntu MATE are you reporting this against?

Changed in ubuntu-mate:
status: New → Incomplete
Brice Terzaghi (terzag) wrote :

(I have opened a bug which has been marked as duplicate of this one. Not sure I need to add info there but just in case...)

In my case, the problem appeared in Mate 1.12, either with Ubuntu Mate 15.10 upgraded through the PPA, or with Ubuntu Mate 16.04.

My assumption is that Mate Control Center fetches its translations from the desktop files, looking for Name[xx] (where xx is "fr" for french, "de" for german and so on), as it appears that the launchers that are not translated only have a generic english Name in their desktop, while the ones that are translated have the Name[xx] lines. I assume that before Mate 1.12 they had the translated name. If that's the case, I'm not sure why they were dropped in the .desktop supplied with Mate 1.12 but they might have been replaced by the X-Ubuntu-Gettext-Domain option.

They are translated in the menu presumably because they get their translation through the X-Ubuntu-Gettext-Domain line in their .desktop file.

The best way to fix this would probably to update Mate Control Center so that it checks for the Gettext domain if it can't find a localized Name entry.

Jung-Kyu Park (bagjunggyu) wrote :

It has been issued all the through from 15.10 , 16.04 and now to 16.10
This report is filed in Ubuntu MATE 16.10 Development Branch

Vlad Orlov (monsta) wrote :

Hi, upstream MATE dev here.

Yes, I confirm this in Mint 17 and Ubuntu 16.04. Not sure why it doesn't happen in Debian... maybe Brice's assumption is correct, need to check it.

Changed in ubuntu-mate:
status: Incomplete → Confirmed
Brice Terzaghi (terzag) wrote :

If it's been tested on Debian stable, the Mate version available is probably older (1.10 or 1.08 I guess) and from what I remember on Ubuntu, the issue didn't appear before Mate 1.12.

It would be worth checking on Mate 1.10 (or older) if the problematic .desktop files were fully translated or if they've been changed afterwards. I've listed them in my original beu greport: https://bugs.launchpad.net/ubuntu-mate/+bug/1592723

Vlad Orlov (monsta) wrote :

No, I'm using LMDE 2 (Linux Mint Debian Edition) which is based on Debian Stable but gets the latest MATE version once it's released. Also I have a VM with Debian Testing. I have to use the latest MATE version anyway as a developer :)

Jung-Kyu Park (bagjunggyu) wrote :

I can confirm that LMDE 2 has no issue with it though,
But, New Linux Mint 18 Sarah MATE still has this issue with it.
Please, see the screenshot

Case for Linux Mint 18 Sarah)

* Network
* Printers
* Time and Date
* Users and Groups
* Firewall Configuration
* Network Connections
* CompizConfig Settings Manager
* Desktop Sharing

Brice Terzaghi (terzag) wrote :

It's worth noting that there are quite a lot of differences between the apps available in the settings between LMDE and Ubuntu Mate. Not sure how much the Ubuntu Mate devs tweak the environment (besides adding the usual Ubuntu specific stuff, like "Software and Updates" or the "Language support" app that might be a different one as on other distros) and if it's an upstream bug.

Just in case, I add a screenshot of what I have on a french Ubuntu Mate 16.04. Note that a few apps have been added by me and it's pretty much expected that they're not translated (like Qt5 or Openbox settings).

Vlad Orlov (monsta) wrote :

LMDE is different for sure, but the issue affects main edition of Mint (Mint 17 and 18) - this edition is Ubuntu-based. So it's not just Ubuntu MATE, it's something in Ubuntu that m-c-c doesn't handle correctly.

affects: ubuntu-mate → mate-control-center (Ubuntu)

In Mint-Mate 18 (Sarah) this is still the case. Drop-down menus show Dutch and in the Control Center it is partly not translated. I edited all .desktop files concerned in /usr/share/applications for all but one that I could not find. Just a matter of search-and-find and then replace the text lines file by file.

I don't know if these files are generated during installation or whether they are part of the general translation team. I could not find anything that points to translation pages on launchpad.

Many people in the Netherlands seem to prefer English over Dutch in their operating systems for most people are trained in English to start with in IT...

Cheers,
Peter

See my edited control center in Mint-Mate 17.3

Just created Ubuntu MATE 16.04 LTS on a Raspberry Pi: same problem occurs. I can add the Name[nl]= and Comment[nl]= lines to these files but the question remains: Why are they not updated during installation? It seems to me that these files are not touched at all during installation when looking at the file dates so they probably get downloaded or just partly downloaded during installation. If so, why are they not incorporating all these GenericName= Name= and Comments= lines if effort is done by translators on LaunchPad? Not only the Control Center is affected here but the drop-down menus too are partly untranslated. I did an update run on missing translations but that did not help. In a few cases the [nl] line was missing in the file but many others were there so maybe it's indeed a translation job too.

Cheers,
Peter

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers