Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 463206

Summary: net-print/cups - localization
Product: Gentoo Linux Reporter: Eugeny Shkrigunov <eshkrig>
Component: [OLD] PrintingAssignee: Printing Team <printing>
Status: VERIFIED NEEDINFO    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: fix CUPS localization
fix CUPS localization v2

Description Eugeny Shkrigunov 2013-03-25 11:19:40 UTC
Created attachment 343218 [details]
fix CUPS localization

Hi!
Sorry for my English.

net-print/cups has lost localization - see bug #450220
This is very inconvenient for users who do not speak English: localization has been removed for command line tools and also for a web interface.

Many localization files CUPS are incomplete - contains empty msgstr in locale/*.po for untranslated parts.
*.po files installed "as is" and there is problem described in #450220

To fix the problem, it is possible to convert the *.po files into *.mo with msgfmt and install *.mo instead *.po
In this case, the empty msgstr not fall into *.mo files and stay in English, but many messages are localized.

In the attachment is a small patch for the current stable CUPS version - 1.5.2
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-03-25 11:28:33 UTC

*** This bug has been marked as a duplicate of bug 452896 ***
Comment 2 Eugeny Shkrigunov 2013-03-25 13:05:47 UTC
bug #452896 resolves for CUPS 1.6.2
this is for _current_ _stable_ CUPS _version_ - 1.5.2
Comment 3 Eugeny Shkrigunov 2013-03-26 05:32:48 UTC
*.po -> *.mo does not work
*.po -> *.mo -> *.po does work
see patch v2
Comment 4 Eugeny Shkrigunov 2013-03-26 05:33:20 UTC
Created attachment 343284 [details]
fix CUPS localization v2