My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
JSON  
JSON localization file
Updated Mar 22, 2011 by phong.le...@gtempaccount.com

Introduction

JSON localization file is commonly used in browser extension such as Chrome extension.

Example

Following is an example of localization file using JSON

{
	"extName": {
		"message": "Extension name",
		"description": "The extension name."
	},
	"extDesc": {
		"message": "An description of extension",
		"description": "The extension description."
	},
        "ext": {
		"message": "Missing description"
	}
}

In this example file, the following master strings will be imported to Get Localization.

  • Extension name has logical string extName and context The extension name
  • An description of extension has logical string extDesc and context The extension description.
  • Missing description has logical string ext
Powered by Google Project Hosting