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