Skip to content

Sublime 3 snippet for simple insert gettext in Smarty templates

Notifications You must be signed in to change notification settings

arsenichev/sublime-gettext-snippet

Repository files navigation

Sublime 3 snippet for gettext and Smarty templates. Use this for quick insert: {_("i18n string")} or {_("i18n %s string")|sprintf:"string"} for with sprintf modifier.

Install

  1. Open Sublime and go to Preferences - Browse Packages...
  2. Copy all *.sublime-snippet files to packages folder

Usage

  • Select text in Sublime and press Cmd+Shift+P and find Snippet: gettext wrapper... OR
  • Type _ symbol and press Tab

About

Sublime 3 snippet for simple insert gettext in Smarty templates

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published