ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Word​Press Internationalization (i​18n)

by maheshwaghmare ST2/ST3

Sublime WordPress I18N

Details

  • 1.0.0
  • github.​com
  • github.​com
  • 7 months ago
  • 36 minutes ago
  • 7 months ago

Installs

  • Total 377
  • Win 305
  • OS X 45
  • Linux 27
Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4
Windows 0 1 2 0 0 0 0 1 1 2 1 0 0 1 1 1 0 0 2 2 1 0 0 4 1 0 2 0 0 0 1 0 2 0 0 2 0 1 1 0 1 1 0 0 0 2
OS X 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0
Linux 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 1 1 0 0 0 0 0 0 1 0 1 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Sublime WordPress i18n

Simple sublime package to make WordPress theme/plugin translation ready.

Sublime WordPress I18N

Snippets:

Snippet Output
wpi18__ __( ‘Hello.’, ‘text-domain’ );
wpi18_e _e( ‘Hello.’, ‘text-domain’ );
wpi18_n _n( ‘%s Comment’, ‘%s Comments’, get_comments_number(), ‘text-domain’ );
wpi18_x _x( ‘Hello.’, ‘Description of translation string.’, ‘text-domain’ );
wpi18_nx _nx( ‘%s Comment’, ‘%s Comments’, get_comments_number(), ‘Description of translation string.’, ‘text-domain’ );
wpi18_sprintf__ sprintf( __( ‘You have chosen the %1$s theme.’, ‘text-domain’ ), $color );
wpi18_printf__ printf( __( ‘You have chosen the %1$s theme.’, ‘text-domain’ ), $color );