Bug 16321 - French interface missing in cups
Summary: French interface missing in cups
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 5
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Rémi Verschelde
QA Contact:
URL:
Whiteboard:
Keywords: UPSTREAM
: 18223 (view as bug list)
Depends on:
Blocks: 18223
  Show dependency treegraph
 
Reported: 2015-07-07 18:42 CEST by pat dealt
Modified: 2018-10-02 14:13 CEST (History)
2 users (show)

See Also:
Source RPM: cups
CVE:
Status comment:


Attachments

Description pat dealt 2015-07-07 18:42:33 CEST
Product : cups-2.0.2-5.mga5.x86_64
The languages included in this version are en,es and ja.
/usr/share/cups/templates/fr directory is missing in this package as several other ones (ru,ge ...).
Comment 1 Samuel Verschelde 2015-07-08 10:33:18 CEST
Thanks for the report. Assigning to maintainer.

Assignee: bugsquad => thierry.vignaud

Comment 2 Thierry Vignaud 2015-07-31 10:07:59 CEST
Well those are the one installed by cups...
Is fr really provided in cups?
Comment 3 pat dealt 2015-10-15 11:59:55 CEST
Yes it was provided in mga4. Have a look on the attached snapshot.

Just for info I grepped two mga4 packages :

[pat@Mageia4 ~]$ rpm -ql cups-1.7.0-7.5.mga4 | grep fr
/usr/share/cups/doc/fr
/usr/share/cups/doc/fr/index.html
/usr/share/cups/templates/fr
/usr/share/cups/templates/fr/add-class.tmpl
/usr/share/cups/templates/fr/add-printer.tmpl
/usr/share/cups/templates/fr/add-rss-subscription.tmpl
/usr/share/cups/templates/fr/admin.tmpl
/usr/share/cups/templates/fr/choose-device.tmpl
/usr/share/cups/templates/fr/choose-make.tmpl
/usr/share/cups/templates/fr/choose-model.tmpl
/usr/share/cups/templates/fr/choose-serial.tmpl
/usr/share/cups/templates/fr/choose-uri.tmpl
/usr/share/cups/templates/fr/class-added.tmpl
/usr/share/cups/templates/fr/class-confirm.tmpl
/usr/share/cups/templates/fr/class-deleted.tmpl
/usr/share/cups/templates/fr/class-jobs-header.tmpl
/usr/share/cups/templates/fr/class-modified.tmpl
/usr/share/cups/templates/fr/class.tmpl
/usr/share/cups/templates/fr/classes-header.tmpl
/usr/share/cups/templates/fr/classes.tmpl
/usr/share/cups/templates/fr/command.tmpl
/usr/share/cups/templates/fr/edit-config.tmpl
/usr/share/cups/templates/fr/error-op.tmpl
/usr/share/cups/templates/fr/error.tmpl
/usr/share/cups/templates/fr/header.tmpl
/usr/share/cups/templates/fr/help-header.tmpl
/usr/share/cups/templates/fr/help-printable.tmpl
/usr/share/cups/templates/fr/help-trailer.tmpl
/usr/share/cups/templates/fr/job-cancel.tmpl
/usr/share/cups/templates/fr/job-hold.tmpl
/usr/share/cups/templates/fr/job-move.tmpl
/usr/share/cups/templates/fr/job-moved.tmpl
/usr/share/cups/templates/fr/job-release.tmpl
/usr/share/cups/templates/fr/job-restart.tmpl
/usr/share/cups/templates/fr/jobs-header.tmpl
/usr/share/cups/templates/fr/jobs.tmpl
/usr/share/cups/templates/fr/list-available-printers.tmpl
/usr/share/cups/templates/fr/modify-class.tmpl
/usr/share/cups/templates/fr/modify-printer.tmpl
/usr/share/cups/templates/fr/norestart.tmpl
/usr/share/cups/templates/fr/option-boolean.tmpl
/usr/share/cups/templates/fr/option-conflict.tmpl
/usr/share/cups/templates/fr/option-header.tmpl
/usr/share/cups/templates/fr/option-pickmany.tmpl
/usr/share/cups/templates/fr/option-pickone.tmpl
/usr/share/cups/templates/fr/option-trailer.tmpl
/usr/share/cups/templates/fr/pager.tmpl
/usr/share/cups/templates/fr/printer-accept.tmpl
/usr/share/cups/templates/fr/printer-added.tmpl
/usr/share/cups/templates/fr/printer-configured.tmpl
/usr/share/cups/templates/fr/printer-confirm.tmpl
/usr/share/cups/templates/fr/printer-default.tmpl
/usr/share/cups/templates/fr/printer-deleted.tmpl
/usr/share/cups/templates/fr/printer-jobs-header.tmpl
/usr/share/cups/templates/fr/printer-modified.tmpl
/usr/share/cups/templates/fr/printer-purge.tmpl
/usr/share/cups/templates/fr/printer-reject.tmpl
/usr/share/cups/templates/fr/printer-start.tmpl
/usr/share/cups/templates/fr/printer-stop.tmpl
/usr/share/cups/templates/fr/printer.tmpl
/usr/share/cups/templates/fr/printers-header.tmpl
/usr/share/cups/templates/fr/printers.tmpl
/usr/share/cups/templates/fr/restart.tmpl
/usr/share/cups/templates/fr/samba-export.tmpl
/usr/share/cups/templates/fr/samba-exported.tmpl
/usr/share/cups/templates/fr/search.tmpl
/usr/share/cups/templates/fr/set-printer-options-header.tmpl
/usr/share/cups/templates/fr/set-printer-options-trailer.tmpl
/usr/share/cups/templates/fr/subscription-added.tmpl
/usr/share/cups/templates/fr/subscription-canceled.tmpl
/usr/share/cups/templates/fr/test-page.tmpl
/usr/share/cups/templates/fr/trailer.tmpl
/usr/share/cups/templates/fr/users.tmpl

This one display all provided languages in mga4.

$ rpm -ql cups-common-1.7.0-7.5.mga4 | grep /usr/share/locale/
/usr/share/locale/ca/cups_ca.po
/usr/share/locale/cs/cups_cs.po
/usr/share/locale/es/cups_es.po
/usr/share/locale/fr/cups_fr.po
/usr/share/locale/it/cups_it.po
/usr/share/locale/ja/cups_ja.po
/usr/share/locale/ru/cups_ru.po
Comment 4 Thierry Vignaud 2015-10-15 15:17:48 CEST
Well, those files are no provided with cups-2
You won't find them in Fedora.
Comment 5 pat dealt 2015-10-15 17:36:48 CEST
Mageia HAD a lot of users in France. It may change if French language isn't supported in cups and others...
Comment 6 Rémi Verschelde 2015-10-15 17:41:39 CEST
(In reply to pat dealt from comment #5)
> Mageia HAD a lot of users in France. It may change if French language isn't
> supported in cups and others...

Mageia is not a superhero, if the projects we package stop providing translations, we can't start maintaining translations for everything. Please report this upstream to cups.

And if French users don't like Mageia anymore because cups is not translated in French, I wish them good luck to find an alternative, since as Thierry pointed out, the translations are no longer provided in cups-2.
Rémi Verschelde 2015-10-15 17:41:53 CEST

Keywords: (none) => UPSTREAM

Comment 7 Rémi Verschelde 2015-10-15 17:44:06 CEST
@Thierry: I just downloaded the tarball for cups 2.1.0 and translations seem to be there: the same as listed above, + cups_de.po.

Source RPM: (none) => cups

Comment 8 Rémi Verschelde 2015-10-15 17:50:08 CEST
(In reply to Rémi Verschelde from comment #7)
> @Thierry: I just downloaded the tarball for cups 2.1.0 and translations seem
> to be there: the same as listed above, + cups_de.po.

On the other hand I check the French po file and it's like 15% translated... so I wouldn't be surprised that upstream decided not to install it, as it's better to have an untranslated application than a badly translated one IMO.

Morality: CUPS would probably warmly welcome motivated translators to help them improve this :)
Comment 9 Rémi Verschelde 2015-10-15 20:57:45 CEST
After digging into this a bit more:

1) It's normal that there are no French templates translations in Mageia 5, as they don't exist. The source tarball for cups 2.0.4 (currently in Core Updates Testing) only contains:

$ find templates/ -type d
templates/
templates/es
templates/de
templates/ja
templates/ru

2) Regarding the missing .po files, they were indeed removed during the development of Mageia 5 by Dimitrios, who considered that they were source files not used at runtime: http://svnweb.mageia.org/packages/updates/5/cups/current/SPECS/cups.spec?r1=605544&r2=605545

This might need to be clarified. Upstream explicitly indicates to install those po files to /usr/share/locale/fr, but that does sound weird as translations are usually binary .mo files put in /usr/share/locale/fr/LC_MESSAGES/

CC: (none) => dglent

Comment 10 Dimitrios Glentadakis 2015-10-15 21:03:57 CEST
Yes it is strange, normaly the *.mo translation files we package and not the *.po
Comment 11 Rémi Verschelde 2015-10-15 21:07:30 CEST
(In reply to Rémi Verschelde from comment #9)
> 
> 2) Regarding the missing .po files, they were indeed removed during the
> development of Mageia 5 by Dimitrios, who considered that they were source
> files not used at runtime:
> http://svnweb.mageia.org/packages/updates/5/cups/current/SPECS/cups.
> spec?r1=605544&r2=605545
> 
> This might need to be clarified. Upstream explicitly indicates to install
> those po files to /usr/share/locale/fr, but that does sound weird as
> translations are usually binary .mo files put in
> /usr/share/locale/fr/LC_MESSAGES/

OK, I just tested by making a translation of a string in /usr/sbin/cupsctl --help, and putting the corresponding translated file in /usr/share/locale/fr, and the translated string is indeed used.

So the change linked above was bogus. It might be worth fixing in the current cups 2.0.4 update candidate.

As for the templates (i.e. what appears in the web interface), there's nothing we can do, the French translation does not exist for CUPS 2.
Comment 12 Rémi Verschelde 2015-10-15 21:30:20 CEST
(In reply to Rémi Verschelde from comment #11)
> So the change linked above was bogus. It might be worth fixing in the
> current cups 2.0.4 update candidate.

Done in http://svnweb.mageia.org/packages/updates/5/cups/current/SPECS/cups.spec?r1=891928&r2=891922 for cups-2.0.4-1.1.mga5 that should be pushed soon.
Comment 13 Rémi Verschelde 2015-10-15 21:34:10 CEST
I'll consider the issue "FIXED" regarding the missing po files. For the missing French templates, since they don't exist, the resolution would either be WONTFIX or just letting the bug idle around until upstream provides a translation.

As a potential template translation will be automatically packages if it arrives in a future version, I guess we don't need to keep this bug open.

Status: NEW => RESOLVED
Resolution: (none) => FIXED
Assignee: thierry.vignaud => rverschelde

Comment 14 pat dealt 2015-10-26 08:09:25 CET
No chance to have it translated.
cups bug report :
>>> Re: [UNKN] STR #4731: French language not supported

>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA512

>>> DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

>>> [STR Unresolved]

>>> All translations are contributed/donated on Linux. Instructions for
>>> providing a translation of the web interface can be found here:

>>>     http://www.cups.org/documentation.php

>>> Link: https://www.cups.org/str.php?L4731
>>> Version: 2.0-feature
>>> Fix Version: Third-party


No comment!
Thierry Vignaud 2016-04-23 14:22:08 CEST

Blocks: (none) => 18223

Comment 15 Thierry Vignaud 2018-10-02 14:13:00 CEST
*** Bug 18223 has been marked as a duplicate of this bug. ***

CC: (none) => yves.brungard_mageia


Note You need to log in before you can comment on or make changes to this bug.