User:Wenzel/Jetpack:L10n Webapp Specs

From MozillaWiki
< User:Wenzel
Revision as of 16:55, 10 May 2010 by Wenzel (talk | contribs) (initial specs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Draft-template-image.png THIS PAGE IS A WORKING DRAFT Pencil-emoji U270F-gray.png
The page may be difficult to navigate, and some information on its subject might be incomplete and/or evolving rapidly.
If you have any questions or ideas, please add them as a new topic on the discussion page.

These are the specs for the server-side web application part of JEP 113.

Goals

The server side service of Jetpack L10n has two parts:

  1. A localization interface for jetpacks, offering strings to the user for translation
  2. A backend API allowing installed jetpacks to retrieve translations

The service is going to allow for:

  • extracting entities from jetpacks and collecting them in a database
  • allowing for localization of the entities
  • allowing for overwriting localizations for specific jetpacks/uses of the entity in jetpack
  • covering jetpack-to-server communication and entity synchronization between the local cache of the pool and the server
  • it'll provide statistics, history view and some management capabilities for locale owners (like, remove all contributions by selected user)

The primary UI is the localization view which should allow for easy entity localization with ability to look at where the entity is used (i.e., in what Jetpacks and in what locations therein) and how other locales localized it.

Project Outline

Round 1

  • L10n will eventually live inside Flightdeck or AMO, therefore:
    • Django project
    • Use or allow for virtualenv and pip, and deployment through mod_wsgi (cf. AMO docs)
    • Allow user signup/login, but keep things simple

Gandalf made a simple POC of the server that can give some ideas.

Later Iterations

APIs, JEP, and L20n capabilities.