Closed Bug 268506 Opened 20 years ago Closed 20 years ago

Firefox sv-SE langpack doesn't install

Categories

(Mozilla Localizations :: sv-SE / Swedish, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: slicedlime, Assigned: u60234)

Details

Attachments

(1 file)

The langpack (20041109) refuses to install on all builds I've tried to install
on. The error message claims install-<rnd>.rdf is malformed (<rnd> being three
seemingly random characters). Tested with the same results on both Windows and
Linux.
Same results with a new profile.
Adding people to CC as per request on mozilla-l10n.
Happens here too.
From my quick diagnosis, it's DOS line endings in
http://lxr.mozilla.org/l10n-aviarybranch/source/browser/locales/sv-SE/defines.inc.
That creates the most funny strings in install.rdf in various attributes.
The install.rdf also has leading whitespace, I'm not exactly sure where that comes
from, or if that's the same cause.

Chase, Benjamin, what's your take on this?
dammit ;)

Let's fix the line endings on the aviary branch, make sure that the next
"nightly" build of the langpack works. We can move the release tag if necessary.
Attached patch Remove CRs.Splinter Review
Dunno if you guys want it or not but I'm attaching a patch anyway. Can't hurt.

BTW: bsmedberg, perhaps you should check files for windows line endings when
you do the first checkins for l10n teams? We've been a bit unlucky here, since
these files came out of mozilla.se's CVS server and were checked out with Win
lineendings... so this is somewhere around the fifth such error I'm seeing. Not
putting any blame on anyone here, just thinking it may be a good idea to check
before checking in people's trees in the future to avoid alot of problems and
extra work for everyone.

When we start out work for the next version I'm going to strip the entire sv-SE
tree of these just to get to where we have a proper cvs base to work from.
Comment on attachment 165434 [details] [diff] [review]
Remove CRs.

Please land this (on the aviary branch).
Attachment #165434 - Flags: approval-aviary+
Landed.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
New langpack in latest-0.11-l10n works on linux. I would like verification from
others of this, and preferably on other platforms.
Sure, I'll sign off on this:-)

No, seriously, I can confirm that the latest language pack found in
latest-0.11-l10n works on Windows XP.

The time stamp on the compressed files though suggests that this language pack
was built before the checkin.
Ok. Waiting for the next one then.
as cmp just said, the langpacks that are published are sometimes linux, sometimes
windows, whoever comes last wins.

I has put the just finished langpack from the linux machine up on
http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-0.11-l10n/linux-xpi/sv-SE.xpi
so that you can test that pack.

Btw, this explains rather well why some reports are "ok" and some are "crap".
So all mystery is resolved, no need to be ashamed for anybody.
Fix to the build systems also committed.  Language XPIs are saved in
platform-specific directories now and uploaded en masse to the staging server.
Both linux and windows xpi:s now seem to install properly here, but I dont have
time to do more thorough testing atm. I'd appreciate if someone else could check
the packs out too.
I'll check if it works on mac later today.
I have tested the latest lang pack on Windows and Linux, and they both work fine
here.
Latest langpack installs fine on Mac OS 10.3.5.
This issue is fixed. Thanks for the help from everyone and please copy language
packs to release dirs.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: