#22404: Make front-end getext catalog available as JSON
----------------------------------+-------------------------------------
     Reporter:  ian.morrison.a@…  |                    Owner:  manologab
         Type:  New feature       |                   Status:  assigned
    Component:  Translations      |                  Version:  1.6
     Severity:  Normal            |               Resolution:
     Keywords:                    |             Triage Stage:  Accepted
    Has patch:  0                 |      Needs documentation:  0
  Needs tests:  0                 |  Patch needs improvement:  0
Easy pickings:  0                 |                    UI/UX:  0
----------------------------------+-------------------------------------
Changes (by manologab):

 * owner:  nobody => manologab
 * status:  new => assigned


Comment:

 Hi, I've been working with Django for the last few months and I will like
 to contribute with this feature.

 What I propose is a javascript view json_catalog that returns the language
 settings as a json object like this:
 {{{
 {catalog:{
     'translate this':'traduce esto',
     'one plural sample': [
         'un ejemplo de plural',
         'muchos ejemplos de plural'
     ]
 },
 plural: null,
 formats: {
     "DATETIME_FORMAT": "N j, Y, P",
     "DATE_FORMAT": "N j, Y",
     "DECIMAL_SEPARATOR": ".",
     ...
 }
 }}}
 Here is the code:
 [https://github.com/manologab/django/tree/ticket_22404]

 Please let me know if you agree with this approach before going any
 further.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/22404#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/082.59fbd84a62a82f0b7e277dcf23c4449c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to