Closed
Bug 642677
Opened 14 years ago
Closed 12 years ago
Figure out javascript loading of .po data in web content
Categories
(Mozilla Labs :: F1, defect, P3)
Mozilla Labs
F1
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: formerly-j-r-burke, Unassigned)
References
Details
Attachments
(1 file)
615 bytes,
text/plain
|
Details |
Convert .po files to JS resources that can be loaded by the web UI.
Comment 1•14 years ago
|
||
I remember the WebDev guys telling me about how they got .po files to integrate with their JS app (Glow, to be precise), so I'm CCing them. Maybe they can point us to their existing code.
Comment 2•14 years ago
|
||
The existing code is https://github.com/jbalogh/glow/blob/master/po2js.py but it's been hacked to pieces so I'm attaching a simpler version.
It uses path.py for easy path manipulation and babel for reading po files.
I use it like this: `python po2js locale path/to/output`.
Comment 3•14 years ago
|
||
Thanks Jeff!
Updated•14 years ago
|
Assignee: formerly-j-r-burke → jrburke
Updated•14 years ago
|
Assignee: jrburke → nobody
Component: Share: Web Client → F1
Product: Mozilla Services → Mozilla Labs
QA Contact: share-web-client → f1
Updated•14 years ago
|
Whiteboard: [eta 4 days]
Comment 5•12 years ago
|
||
f1 is no longer an active project. delete these messages by searching for: [closing_f1_project_bugs]
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•