Skip to content
Snippets Groups Projects

Internationalise JavaScript code

Merged username-removed-124398 requested to merge NicoAlt/repomaker:109-js-i18n into master

I did not find any way to let Django add the translations from JavaScript to "django" instead of "django.js".

This is the code I tried:

js_info_dict = {
    'domain': 'django',
    'packages': ('maker.apps.MakerConfig',),
}

urlpatterns = [
    # JavaScript Internationalisation
    url(r'^jsi18n/$', javascript_catalog, js_info_dict, name='javascript-catalog'),
Edited by username-removed-124398

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading