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
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 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13
Windows 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 1 1 1 1 0 0 0 0 0 0 1 0 1 0 0 0
Mac 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
Linux 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 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1

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