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.
- Open Sublime and go to Preferences - Browse Packages...
- Copy all
*.sublime-snippetfiles to packages folder
- Select text in Sublime and press
Cmd+Shift+Pand find Snippet: gettext wrapper... OR - Type
_symbol and press Tab