Closed Bug 418792 Opened 14 years ago Closed 14 years ago
l10n specific preferences not working (en-US instead of de in user agent string in localized builds)
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:126.96.36.199pre) Gecko/20080219 Calendar/0.8pre If this is the wrong componet, please change it to the right one.
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
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)
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.
Assignee: nobody → ssitter
Status: NEW → ASSIGNED
Attachment #304699 - Flags: review?(ause)
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: 14 years ago
Resolution: --- → FIXED
OS: Windows XP → All
Hardware: PC → All
Version: Mozilla 1.8 Branch → unspecified
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.
(In reply to comment #6) Maybe your are not using a localized build but an en-US build with language pack installed.
(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.