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

JSON L18n Resources Editor

by alex18881 ST3

Sublime Text 3 plugin for editing localization/internationalization resources in JSON format

Details

Installs

  • Total 4K
  • Win 2K
  • Mac 1K
  • Linux 541
Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14
Windows 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 2 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 1
Mac 0 0 1 0 0 0 0 0 1 0 1 0 0 1 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Json L18n Resources Editor

Sublime Text 3 plugin for editing localization internationalization resources JSON. (the package title says L18n which kind of mixing 2 terms l10n and i18n.)

Description

This package allows to edit localization/internationalization resources stored in JSON files. For example: resources.json resources.en-us.json resources.en-gb.json

Installation

  • Using Package Control Ctrl+Shift+P -> “Install Package” then type JsonL18nResourcesEditor and press enter
  • Clone the repository or download ZIP and extract to the JsonL18nResourcesEditor directory in your Sublime 'Packages' folder ( menu “Preferences”->“Browse Packages” )

Usage

  • Right click on one of any file from sequence of JSON resources files in sidebar or in its tab if it's open and is currently selected. ( Sequence of JSON resources is a number of JSON files located in the same directory with similar names i.e. resources.json, resources.en-us.json, resources.en-gb.json )
  • Select “Edit L18n resource” in context menu.
  • Edit resources as JSON strings in opened window.
  • Use TAB and SHIFT+TAB to shitch between languages

If you need to make a multiline string which should contain “\n” symbols just press CTRL+Enter to enter into multiline editor there to make new line use SHIFT+Enter, and to apply changes just hit Enter

Note that each value should be a proper single line JSON string. All special chars must be escaped. Resulting saved files will be pretty-print-formatted.

P.S.

Feel free to post issues

Changes

1.2.1 - 1.2.3:

  • bugfix

1.2.0:

  • added jump to next lang resource by tab press and previous by shift+tab
  • added multiline strings editing by CTRL+Enter
  • row adding fixed

1.1.1:

  • bugfix

1.1.0:

  • added settings
  • added tab content command

1.0.0:

  • fixed new row creation
  • fixed small bugs