Because the installation check depends on hardcoded plugin name, see ChromeManagerAccessor.ChromeExtensionManager.PLUGIN_NAME. When the plugin name is translated, this hardcoded name will stop working.
I suggest we do not localize the plugin name - it will always be "NetBeans Connector". Otherwise I'm not sure how to change the implementation - recognize presence of NB plugin according to what? icon being "img/netbeans16.png"? Could do.
(In reply to comment #1)
> icon being "img/netbeans16.png"? Could do.
Or add some "special" image/file with hard-to-guess (hashed?) filename that would server just for this recognition?
There is no need for such hacks. The extension has a unique ID that is derived from its public key (that is included in the .crx file), see . The ID of our extension is "hafdlehgocfcodbgjnpecfajgkeejnaa".
Hence, instead of checking the name, we should check the ID. FYI: The ID of the registered extension can be obtained through e.getKey() where e is the variable from line 161 in ChromeManagerAccessor.java.
Thanks for pointing this out, but one thing to remember is that the ID of the extension when uploaded to Chrome Web Store is different - the URL of the plugin is https://chrome.google.com/webstore/detail/netbeans-connector/ehdgmbjjaocpjdnapfadcldificeaaki
I will use directly the public key instead of ID.
Integrated into 'main-golden', will be available in build *201211070001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: David Konecny <firstname.lastname@example.org>
Log: #221196 - Chrome plugin installation check will not work in non-English locale