Plugin.json and internationalization


#1

How to translate strings from this file?

In example:
lang/ru.json


{
	"MyPlg": {
		"PlgDescription": "Супер описание для супермегаплагина."
}

plugin.json


{
	"name": "MyPlg",
	"version": "2.0",
	"description": "PlgDescription" // Or MyPlg_PlgDescription or something else?
}


(Matthieu Aubry) #2

all plugins texts can be translated, except this description text as it is used in other places than Piwik (such as the marketplace: http://plugins.piwik.org/ )

Please write description in plugin.json in english (if you plan to publish on marketplace).