Firefox (xulrunner) printing problem when using Finnish (fi) translation

Bug #219655 reported by mikko
36
Affects Status Importance Assigned to Milestone
langpack-o-matic
Fix Released
Undecided
Unassigned
firefox-3.0 (Ubuntu)
Invalid
Undecided
Unassigned
language-pack-fi (Ubuntu)
Fix Released
High
Alexander Sack
language-pack-fi-base (Ubuntu)
Fix Released
High
Alexander Sack
language-support-fi (Ubuntu)
Invalid
Undecided
Unassigned
xulrunner (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: firefox-3.0

error message every time I try to print in Firefox to pdf-file or printer:

XML-jäsennysvirhe: virhe käsiteltäessä ulkoista olioviittausta
URL: chrome://global/content/printProgress.xul
Rivinumero 6, sarake 67:<!DOCTYPE window SYSTEM "chrome://global/locale/printProgress.dtd">
------------------------------------------------------------------^

Added from a later comment:"Printing works ok if set Xulrunner (fi) to "off" in tools- add-ons -languages menu." -> a confirmed problem in xulrunner / xulrunner translations.

Revision history for this message
mikko (mikko-) wrote :

Printing in other programs works fine.

Revision history for this message
Bernhard J. M. Grün (bernhard-gruen) wrote :

Same problem here (using german locales). Didn't test other locales for now.

Revision history for this message
mikko (mikko-) wrote :

printing and all other things works fine if I launch firefox from terminal:

LANG=en_US.utf8 firefox

Revision history for this message
Felix Braun (felix-braun) wrote :

This bug seems to be fixed as of today's update (at least for the German locale)

Revision history for this message
mikko (mikko-) wrote :

I have this bug still (Finnish locale)

Revision history for this message
mikko (mikko-) wrote :

Printing works ok if set Xulrunner (fi) to "off" in tools- add-ons -languages menu.

Revision history for this message
peran (pertti-suomalainen) wrote :

I Have same problem. Mine printer is Samsung CLP-500 with samba.

Note Samsung CLP-500

If you install without internet printing is OK, but Firefox is english (Not finnish).

Revision history for this message
mikko (mikko-) wrote :
Revision history for this message
peran (pertti-suomalainen) wrote :

Yes, I have same problem.
I have installed four computer and every computer has same "firefox Finnish" problem.

I have used same .iso-file (8.04 Release) each computer and different CD and one CD I have checked md5sum
(8895167a794c5d8dedcc312fc62f1f1f ubuntu-8.04-desktop-i386.iso). Download by torrent.

Onebody has same bug in finnish Ubuntu-forum with same printer of mine (Samsung CLP-500).

Revision history for this message
mikko (mikko-) wrote :

Please confirm your problems also to https://bugs.launchpad.net/ubuntu/+source/language-support-fi/+bug/221376

I think this problem has nothing to do with printers. It's problem in firefox Finnish translations maybe.

Martin Pitt (pitti)
Changed in language-support-fi:
status: New → Invalid
Revision history for this message
Jouni Mettala (jouni-mettala) wrote :

> printing and all other things works fine if I launch firefox from terminal:

> LANG=en_US.utf8 firefox

True

> Printing works ok if set Xulrunner (fi) to "off" in tools- add-ons -languages menu.

Also true.

Changed in language-pack-gnome-fi:
status: New → Confirmed
Changed in xulrunner:
status: New → Confirmed
description: updated
Revision history for this message
Alexander Sack (asac) wrote : Re: [Bug 219655] Re: firefox printing problem

On Tue, May 13, 2008 at 12:24:34PM -0000, Timo Jyrinki wrote:
> ** Changed in: xulrunner (Ubuntu)
> Status: New => Confirmed
>
> ** Summary changed:
>
> - firefox printing problem
> + firefox printing problem when using Finnish (fi) translation
>
> ** Summary changed:
>
> - firefox printing problem when using Finnish (fi) translation
> + Firefox (xulrunner) printing problem when using Finnish (fi) translation
>
> ** Description changed:
>
> Binary package hint: firefox-3.0
>
> error message every time I try to print in Firefox to pdf-file or
> printer:
>
> XML-jäsennysvirhe: virhe käsiteltäessä ulkoista olioviittausta
> URL: chrome://global/content/printProgress.xul
> Rivinumero 6, sarake 67:<!DOCTYPE window SYSTEM "chrome://global/locale/printProgress.dtd">
> ------------------------------------------------------------------^
> +
> + Added from a later comment:"Printing works ok if set Xulrunner (fi) to
> + "off" in tools- add-ons -languages menu." -> a confirmed problem in
> + xulrunner / xulrunner translations.
>

Can chrome://global/locale/printProgress.dtd be opened from the firefox
location bar?

 status incomplete

 - Alexander

Changed in firefox-3.0:
status: New → Incomplete
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

asac: Yes, it opens. Looks normal, 8 lines of text, well I can even copy it here:

<!ENTITY printWindow.title "Tulostetaan">
<!ENTITY title "Otsikko:">
<!ENTITY progress "Edistyminen:">
<!ENTITY preparing "Valmistellaan…">
<!ENTITY printComplete "Tulostus valmis.">
<!ENTITY dialogCancel.label "Peruuta">
<!ENTITY dialogClose.label "Sulje">
<!ENTITY percentPrint "#1%">

Revision history for this message
Alexander Sack (asac) wrote :

fix committed for rosetta to po2xpi branch

Changed in firefox-3.0:
status: Incomplete → Invalid
Changed in xulrunner:
status: Confirmed → Invalid
Changed in rosetta:
status: New → Fix Committed
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Thanks. I also got an information on IRC that updated language packs will be made when RC1 is out.

For those interested in a manual fix:

mkdir temp
cd temp
jar xvf /<email address hidden>/xulrunner-1.9-fi.jar
sed -i 's/%/\&#037;/' locale/fi/global/printProgress.dtd
jar cvf xulrunner-1.9-fi.jar locale
sudo mv xulrunner-1.9-fi.jar /<email address hidden>/

Revision history for this message
Martin Pitt (pitti) wrote :

Fix was rolled out to langpack-o-matic, so I close this task.

Changed in rosetta:
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

The langpacks will be fixed with the next regular update. Until then, please feel free to test the autogenerated ones in https://launchpad.net/~ubuntu-langpack/+archive (on Thursday they should do new ones) and give feedback here. Thanks!

Changed in language-pack-gnome-fi:
status: Confirmed → Fix Committed
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

It's Friday and the latest langpacks for 8.04 are still 8.04+20080506. Also dunno if it means something, but all (95%) the translations for xulrunner and firefox have disappeared from Rosetta for all languages but German: https://translations.launchpad.net/ubuntu/hardy/+source/firefox-3.0/+pots/firefox , https://translations.launchpad.net/ubuntu/hardy/+source/xulrunner-1.9/+pots/xulrunner

It's been like that already for two weeks or so, I was wondering if it's something temporary or not, or if it matters. German was apparently restored by asac. Two or three language teams have clicked like crazy on the suggestions to get the translations back up, but it's not really sensible.

Revision history for this message
Martin Pitt (pitti) wrote :

Timo, argh, that sounds serious. LP translations gurus, Alex, any idea why translations disappeared? I hope they can be restored wholesale?

Revision history for this message
Alexander Sack (asac) wrote : Re: [Bug 219655] Re: Firefox (xulrunner) printing problem when using Finnish (fi) translation

On Fri, May 16, 2008 at 04:34:50PM -0000, Martin Pitt wrote:
> Timo, argh, that sounds serious. LP translations gurus, Alex, any idea
> why translations disappeared? I hope they can be restored wholesale?
>

Martin, thats why i asked you to not roll out new translations for
some time. The technical issues that lead to this are now all resolved
and we are about to reimport all translations. This should take just a
few more days.

(Some details:
We had to land a fix to improve how the context is parsed. Now we
support chome:// urls. Unfortunately that change needed us to reset
all current translations.
)

Sorry for the confusion; feel free to ping me on IRC if you have
further questions.

 - Alexander

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

I checked with the 3.0rc1 and update language packs (20080527) in hardy-proposed. Unfortunately the xulrunner Finnish language pack is still broken for printing. Unpacking the xulrunner-1.9-fi.jar reveals that locale/fi/global/printProgress.dtd still has the non-correct <!ENTITY percentPrint "#1%"> form instead of using &#037; for %.

Revision history for this message
Alexander Sack (asac) wrote :

ok, resurrecting this task.

Changed in language-pack-gnome-fi:
status: Fix Committed → In Progress
assignee: nobody → asac
Revision history for this message
Alexander Sack (asac) wrote :

have to update po2xpi processor with real fix on rookery to fix for real.

Changed in langpack-o-matic:
status: Fix Released → In Progress
Revision history for this message
Alexander Sack (asac) wrote :

fix committed to bzr and rolled out to rookery.

Changed in langpack-o-matic:
status: In Progress → Fix Released
Alexander Sack (asac)
Changed in language-pack-fi:
assignee: nobody → asac
importance: Undecided → High
status: New → In Progress
Changed in language-pack-fi-base:
importance: Undecided → High
Revision history for this message
Martin Pitt (pitti) wrote :

Accepted into hardy-proposed. Please test and give feedback here.

Changed in language-pack-fi:
status: In Progress → Invalid
Changed in language-pack-fi-base:
status: In Progress → Fix Committed
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

The new proposed packages seem to work great. Tested Finnish on two different machines, one upgrading from the current hardy packages and one from the previous proposed packages. Printing works now, and everything else continues to work too.

Revision history for this message
Martin Pitt (pitti) wrote :

I imported Alex' upload to langpack-o-matic, so that the next automatic update won't trash the fix again.

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Any update on moving the current proposed firefox and language packs to -updates?

Revision history for this message
Martin Pitt (pitti) wrote :

Copied to hardy-updates.

Changed in language-pack-fi-base:
status: Fix Committed → Fix Released
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Yep, confirming this bug to be released and fixed.

Changed in language-pack-fi:
status: Invalid → Fix Released
Revision history for this message
petsmmg (petsmmg) wrote :

The problem also existed with Estonian language, but turning Xulrunner (et) off fixed it for now.

Revision history for this message
Alexander Sack (asac) wrote :

On Tue, Jul 15, 2008 at 11:03:07AM -0000, petsmmg wrote:
> The problem also existed with Estonian language, but turning Xulrunner
> (et) off fixed it for now.
>

A fix is about to land soon in launchpad so this bug should probably
go away on next langpack update.

 - Alexander

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.