#25162: Internationalization of static JS
--------------------------------------+--------------------
     Reporter:  RignonNoel            |      Owner:  nobody
         Type:  Uncategorized         |     Status:  new
    Component:  Internationalization  |    Version:  1.8
     Severity:  Normal                |   Keywords:
 Triage Stage:  Unreviewed            |  Has patch:  0
Easy pickings:  0                     |      UI/UX:  0
--------------------------------------+--------------------
 I want to translate a part of my JS in Django.

 I've try the command
 {{{
 python manage.py makemessages -d djangojs
 }}}

 but it take only file in ''TEMPLATE_DIRS'' in the ''settings.py''

 I've try to set a JS in a template directory, and it work perfectly.

 I've the ''djangojs.po'' and i can generate the ''.mo'' when i compile.

 So it's a bug or how make message in static file ?

 My architecture:

  - myapp
   - locale
   - static
      - myapp
          - js
              - try.js
   - template
      - myapp
          - try.html
   - views.py
   - urls.py
   - [...]

--
Ticket URL: <https://code.djangoproject.com/ticket/25162>
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/053.615101ca92021fdaac9bd712042db85b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to