Closed
Bug 418792
Opened 17 years ago
Closed 17 years ago
l10n specific preferences not working (en-US instead of de in user agent string in localized builds)
Categories
(Calendar :: Build Config, defect)
Calendar
Build Config
Tracking
(Not tracked)
RESOLVED
FIXED
0.8
People
(Reporter: thorsten.fritz, Assigned: ssitter)
References
Details
Attachments
(2 files)
28.93 KB,
image/jpeg
|
Details | |
1.11 KB,
patch
|
ause
:
review+
|
Details | Diff | Splinter Review |
Click "About Calendar" in localized builds (1.8 branch tested) shows the user agent string that contains en-US instead of de oder da(tested as well). Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13pre) Gecko/20080219 Calendar/0.8pre If this is the wrong componet, please change it to the right one.
Assignee | ||
Comment 1•17 years ago
|
||
Confirmed. I think the problem is that the file sunbird-l10n.js is shipped in the wrong folder and therefore has no affect: Currently: sunbird\defaults\preferences\sunbird-l10n.js Should be: sunbird\defaults\pref\sunbird-l10n.js This mean offer locale specific preferences like Week start are not working.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Updated•17 years ago
|
Flags: blocking-calendar0.8?
Summary: en-US instead of de in user agent string in localized builds, "About Calendar" → l10n specific preferences not working (en-US instead of de in user agent string in localized builds)
Assignee | ||
Comment 2•17 years ago
|
||
http://lxr.mozilla.org/mozilla1.8/source/calendar/locales/Makefile.in#88 88 libs-%: 89 @$(MAKE) -C ../../toolkit/locales libs-$* 90 @$(MAKE) -C ../sunbird/locales libs AB_CD=$* XPI_NAME=locale-$* 91 @$(MAKE) libs AB_CD=$* XPI_NAME=locale-$* PREF_DIR=defaults/pref The line (90) added for Bug 413868 needs the PREF_DIR argument too I guess.
Blocks: 413868
Assignee | ||
Comment 3•17 years ago
|
||
Comment on attachment 304699 [details] [diff] [review] proposed fix moves sunbird-l10n.js to correct location
Attachment #304699 -
Flags: review?(ause) → review+
committed to branch and trunk
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Updated•17 years ago
|
Flags: blocking-calendar0.8?
OS: Windows XP → All
Hardware: PC → All
Version: Mozilla 1.8 Branch → unspecified
Comment 6•17 years ago
|
||
Doesn't work in Sunbird 0.8 Release. I have to change general.useragent.locale to my locale (hsb="Upper Sorbian") manually, then it works.
Assignee | ||
Comment 7•17 years ago
|
||
(In reply to comment #6) Maybe your are not using a localized build but an en-US build with language pack installed.
Comment 8•17 years ago
|
||
(In reply to comment #7) > (In reply to comment #6) > Maybe your are not using a localized build but an en-US build with language > pack installed. > I'm preparing a zip version. But I think Sunbird (and the same issue is for Fx and TB) should take the general.useragent.locale from /global/intl.properties. What else this information in /global/intl.properties is for?
You need to log in
before you can comment on or make changes to this bug.
Description
•