• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

django-wrap-i18n

Wraps selected text in {% trans "" %}, _("") or gettext("")
Worldrider
0.6.0 4,252
2
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

django-wrap-i18n package

Wraps selected text in {% trans "text" %}, _("text") or gettext("text") according to file extension.

If no selection - inserts import:

from django.utils.translation import ugettext_lazy as _

or

{% load i18n %}

Key bindings

django-wrap-i18n:wrap, default alt-shift-w: does what you expect

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by