Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 22 Sep 2014, 06:22
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects » Localization Project
CUPS Home html page in other languages? [SOLVED]
Moderators: Lobster, MU, raffy
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 2 Posts_count   Goto page: 1, 2 Next
Author Message
Argolance


Joined: 06 Jan 2008
Posts: 1826
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Sat 11 May 2013, 14:25    Post_subject:  CUPS Home html page in other languages? [SOLVED]  

Hello,
How could I get CUPS configuration home html page in French or any other language than English? I have a French cups.mo file in /usr/share/locale/... but this doesn't seem to have any effect on this page.

Thank you.
Cordialement.

Edited_times_total
Back to top
View user's profile Send_private_message Visit_website 
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Sat 11 May 2013, 14:43    Post_subject:  

cups 1.4:

homepage in /usr/share/doc/cups/fr/index.html and images

others in
/usr/share/cups/templates/fr/

effectiv only in fr browser

langpacks for seamonkey releases here:
https://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/2.17.1/langpack/

Cordialment Smile
Back to top
View user's profile Send_private_message 
esmourguit


Joined: 17 Nov 2006
Posts: 1288
Location: Sur l'ile aux oiseaux.

PostPosted: Sun 12 May 2013, 00:01    Post_subject:  

Bonjour à toutes et tous,

@ Argolance,
Here is a snapshot of cups 1.5.3 in Wolx 5.5 (french Wary version).
You can get the files in french langpack.

Cordialement Wink
cups.png
Description 
png

 Download 
Filename  cups.png 
Filesize  137.61 KB 
Downloaded  214 Time(s) 

_________________
Toutou Linux - Pets francisés
Back to top
View user's profile Send_private_message 
Argolance


Joined: 06 Jan 2008
Posts: 1826
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Sun 12 May 2013, 04:27    Post_subject:  

Hello,
Thank you mates!
Something strange: the installed version is 1.5.3 and the html window shows 1.4.8 on Puppy Precise Shocked

Cordialement.
Back to top
View user's profile Send_private_message Visit_website 
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Sun 12 May 2013, 06:10    Post_subject:
Sub_title: version
 

Argolance wrote:
Something strange: the installed version is 1.5.3 and the html window shows 1.4.8 on Puppy Precise

How do you determine the version of cups?

Here is how I do it in my pinstall_hacks.sh
Code:
#120816 cups doc
cupsVERSION=`grep CUPS /usr/share/cups/templates/header.tmpl | cut -d'<' -f2 | cut -d ' ' -f4`
cupsVERSION=`echo ${cupsVERSION}| cut -d'.' -f1,2`
cp -a /tmp/cups/${cupsVERSION}/doc /usr/share           2>/dev/null #1.3 1.4
cp -a /tmp/cups/${cupsVERSION}/doc-root /usr/share/cups 2>/dev/null #1.5
[ `cp -a /tmp/cups/${cupsVERSION}/templates/* /usr/share/cups/templates` ] || echo "cups templates"


... and here is how it looks in Puppy Precise 5.5.93
cups.png
 Description   
 Filesize   25.62 KB
 Viewed   308 Time(s)

cups.png

Back to top
View user's profile Send_private_message 
Argolance


Joined: 06 Jan 2008
Posts: 1826
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Sun 12 May 2013, 13:23    Post_subject:  

Hello,
Quote:
How do you determine the version of cups?
When trying to install cups using the PPM, Puppy says that cups 1.5.3 is already installed!

I found localized cups index.html.in files in the sources. What have I to do to get home page in French, for example?

Cordialement.
Back to top
View user's profile Send_private_message Visit_website 
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Sun 12 May 2013, 13:48    Post_subject:  

Argolance wrote:
When trying to install cups using the PPM, Puppy says that cups 1.5.3 is already installed!


Thank you, I could reproduce this error.

But if I search in "all repositories" or in "ubuntu-precise-main" there is a window...
which is telling what version is installed (1.4 in case of precise 5.5.93)
see picture

Argolance wrote:
What have I to do to get home page in French, for example?
First of all: langpack french for seamonkey installed and activated.
cups_installee.png
 Description   
 Filesize   33.19 KB
 Viewed   316 Time(s)

cups_installee.png

Back to top
View user's profile Send_private_message 
Argolance


Joined: 06 Jan 2008
Posts: 1826
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Sun 12 May 2013, 14:05    Post_subject:  

Hello,
Quote:
First of all: langpack french for seamonkey installed and activated.
Does it mean that the French version of Seamonkey cannot display the index file properly, only the English version with the French pack for Seamonkey installed?

EDIT: This question because I am running Puppy Precise 5.4.3 with the French langpack installed and a French version of Seamonkey. If I replace the English index.html with the French one, I do not get the cups Home page in French but in English Confused

Cordialement.
Back to top
View user's profile Send_private_message Visit_website 
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Mon 13 May 2013, 04:27    Post_subject: CUPS configuration home html page in French  

Argolance wrote:
Hello,
Quote:
First of all: langpack french for seamonkey installed and activated.
Does it mean that the French version of Seamonkey cannot display the index file properly, only the English version with the French pack for Seamonkey installed?
No, does not mean this. Why have seamonkey french if langpack french for seamonkey is sufficient?

Argolance wrote:
EDIT: If I replace the English index.html with the French one, I do not get the cups Home page in French but in English Confused
I do not replace anything but
add German home page for CUPS in /usr/share/doc/cups/de/index.html
( my pinstall_hack.sh does it Cool )
Cordialement.
Back to top
View user's profile Send_private_message 
Argolance


Joined: 06 Jan 2008
Posts: 1826
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Mon 13 May 2013, 08:19    Post_subject:  

Hello L18L,
Thank you for replying.
Quote:
do not replace anything but
add German home page for CUPS in /usr/share/doc/cups/de/index.html
I tried this (adding French home page for CUPS in /usr/share/doc/cups/fr/index.html) but:
    1) as the 1.4.8 sources files don't have the French index.html Shocked
    2) and as I thought the real installed version was 1.5.3 Cool
... I used the 1.5.3 French index.html file. This is probably why this didn't work. Confused
So, now, the only solution for me to get cups in French is to get/install the 1.5.3 cups version. Where could I get it please?

Cordialement.
Back to top
View user's profile Send_private_message Visit_website 
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Mon 13 May 2013, 09:00    Post_subject:  

Argolance wrote:
So, now, the only solution for me to get cups in French is to get/install the 1.5.3 cups version. Where could I get it please?

cups 1.4 has no French I see now Crying or Very sad

download CUPS sources from http://www.cups.org/software.php
home page is in doc/fr
templates in templates/fr

binary cups_1.5.3 in ppm ubuntu-precise-main
Back to top
View user's profile Send_private_message 
Argolance


Joined: 06 Jan 2008
Posts: 1826
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Mon 13 May 2013, 09:22    Post_subject:  

Hello,
Quote:
templates in templates/fr
This has to be copied too? I forgot to do this...
Quote:
binary cups_1.5.3 in ppm ubuntu-precise-main
Yes, I tried this too but without success. I could not get the cups home page working anymore: "Connection refused"! Perhaps because I installed all the other 1.5.3 packages refering to cups (bsd, client, common and so on...)?
So what has to be installed, there are so many things listed?
Thanks.

Cordialement.
Back to top
View user's profile Send_private_message Visit_website 
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Mon 13 May 2013, 09:46    Post_subject:  

Argolance wrote:
Hello,
Quote:
templates in templates/fr
This has to be copied too? I forgot to do this...
Quote:
binary cups_1.5.3 in ppm ubuntu-precise-main
Yes, I tried this too but without success. I could not get the cups home page working anymore: "Connection refused"! Perhaps because I installed all the other 1.5.3 packages refering to cups (bsd, client, common and so on...)?
So what has to be installed, there are so many things listed?
Thanks.

Cordialement.

Sorry, I have never installed cups before.

First I would do it in a fresh (pfix=ram) puppy
Then deinstall cups
Then install cups_1.5
Then install seamonkey lanack
Then copy the needed fr files/directories from cups sources
Back to top
View user's profile Send_private_message 
Argolance


Joined: 06 Jan 2008
Posts: 1826
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Mon 13 May 2013, 11:51    Post_subject:  

The problem is that I intend to integrate cups 1.5.3 to ToOpPy, which is an iso file! Crying or Very sad

Cordialement.
Back to top
View user's profile Send_private_message Visit_website 
rcrsn51


Joined: 05 Sep 2006
Posts: 9124
Location: Stratford, Ontario

PostPosted: Mon 13 May 2013, 12:18    Post_subject:  

Am I missing something here? Wary 5.5 has CUPS 1.4.8. So why does Wolx 5.5 have CUPS 1.5.3 components?
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 2 Posts_count   Goto page: 1, 2 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Puppy Projects » Localization Project
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0952s ][ Queries: 12 (0.0073s) ][ GZIP on ]