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)

defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: formerly-j-r-burke, Unassigned)

References

Details

Attachments

(1 file)

Convert .po files to JS resources that can be loaded by the web UI.
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.
Attached file po2js.py
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`.
Assignee: formerly-j-r-burke → jrburke
Assignee: jrburke → nobody
Component: Share: Web Client → F1
Product: Mozilla Services → Mozilla Labs
QA Contact: share-web-client → f1
Whiteboard: [eta 4 days]
Blocks: 642687
Priority: -- → P3
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.

Attachment

General

Created:
Updated:
Size: