Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 432 Bytes

README.md

File metadata and controls

11 lines (9 loc) · 432 Bytes

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