Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CUPS doesnot search in all required locale directories for message catalogs #26

Closed
michaelrsweet opened this issue Apr 16, 2003 · 2 comments
Milestone

Comments

@michaelrsweet
Copy link
Collaborator

Version: 1.1.18
CUPS.org User: maccy2.yahoo

LC_ALL=de_DE.UTF-8 lpr foo.txt
makes lpr (or any other CUPS app) not search in the
required directories. de.utf8 for example should be
searched. Run strace:

open("/usr/share/locale/de_DE.utf8/cups_de_DE.utf8", O_RDONLY) = -1 ENOENT (No such file or dire
open("/usr/share/locale/de_DE/cups_de_DE", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/de/cups_de", O_RDONLY) = 4

before falling back to de/ it should fall back to
de.utf8

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: maccy2.yahoo

just to show which order the locale directories should be searched in order:

/usr/lib/locale/kl_KL.UTF-8/
/usr/lib/locale/kl_KL.utf8/
/usr/lib/locale/kl_KL/
/usr/lib/locale/kl.UTF-8/
/usr/lib/locale/kl.utf8
/usr/lib/locale/kl/

kl_KL is a fantasy locale just to make sure it falls back to the lowest level.

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: mike

This is now fixed in CVS for 1.1.19rc2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant