Closed
Bug 825224
Opened 12 years ago
Closed 7 years ago
Make DEBUG=1 profiles pick up l10n files correctly
Categories
(Firefox OS Graveyard :: GonkIntegration, defect)
Firefox OS Graveyard
GonkIntegration
Tracking
(blocking-basecamp:-)
RESOLVED
WONTFIX
| blocking-basecamp | - |
People
(Reporter: Pike, Unassigned)
Details
Attachments
(1 file)
There were a bunch of assumptions in our hack of httpd.js to support hg locale repos inside gaia/locales that are no longer true.
I've patched that locally to work reliably again, and didn't find any issues in ftu, contacts, homescreen and shared/date.
Requesting blocking-basecamp to support both localizers as well as developers to quickly test against the localization content as it is in hg.
| Reporter | ||
Comment 1•12 years ago
|
||
There were a bunch of complicated assumptions, I boiled them down to:
resolve '..' first, so you end up with top-level paths to either /shared/.. or /apps/.. .
remove 'locales' from the path parts
find the locale code in the file name, and remove it
try to load localeCode + moddedPath.join('/')
Comment 2•12 years ago
|
||
Not a blocker. Please request uplift on the patches (assuming they are safe, etc)
blocking-basecamp: ? → -
| Reporter | ||
Comment 3•12 years ago
|
||
FYI, this blends with
build/multilocale.py -i --target=shared --target=apps/browser de
to modify the ini files to hook up a particular locale.
| Reporter | ||
Comment 4•12 years ago
|
||
Comment on attachment 696314 [details]
fix up httpd.js to just drop /locales/, find and replace the locale code. Also resolves ..
Trying Vivien for the PR review here.
Attachment #696314 -
Flags: review?(kaze) → review?(21)
Comment 5•12 years ago
|
||
Comment on attachment 696314 [details]
fix up httpd.js to just drop /locales/, find and replace the locale code. Also resolves ..
To be honest since this code has been written by stas I will be comfortable is stas review it.
Attachment #696314 -
Flags: review?(21) → review?(stas)
Comment 6•12 years ago
|
||
Pike, I know you've rebased your patch recently, can you push -f to your branch so that I can test it?
| Reporter | ||
Comment 7•12 years ago
|
||
I think I pushed it, https://github.com/mozilla-b2g/gaia/pull/7229/commits talks about March 20.
Comment 8•12 years ago
|
||
Comment on attachment 696314 [details]
fix up httpd.js to just drop /locales/, find and replace the locale code. Also resolves ..
Ah, you're right. I tested the patch and indeed it picks up the l10n files from gaia-l10n repos correctly also for communications/*.
(I still had troubles with caching and had to first access the file by typing it's URL in the address bar, but this has nothing to do with this patch.)
Attachment #696314 -
Flags: review?(stas) → review+
Comment 9•11 years ago
|
||
Stumbled upon this bug and bug 824978 today, not sure what to make of them (the second one looks like a WONTFIX at this point).
| Reporter | ||
Comment 11•10 years ago
|
||
Unassigning myself, I'm not actively working on this, and I'm not sure if I will anytime soon.
Assignee: l10n → nobody
Comment 12•10 years ago
|
||
Clearly I didn't get to work on this either. I wonder, should we just kill this feature and clean up the httpd.js and the Makefile?
Flags: needinfo?(stas) → needinfo?(l10n)
| Reporter | ||
Comment 13•10 years ago
|
||
Grumble, https://dxr.mozilla.org/mozilla-central/search?q=path%3A%2Fhttpd.js&case=true.
Regarding the actual question, I haven't kept track on fx os l10n, and I don't know if anybody actually uses this feature. Ask in .l10n?
Flags: needinfo?(l10n)
Comment 14•7 years ago
|
||
Firefox OS is not being worked on
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•