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

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