How to check whether users enable localization plugin?

I follow and to localization my plugin

Now there are two files: and

Then I used in plugin.yml by 

<actions resource-bundle="messages.ActionsBundle">

When I open idea with my plugin and not contains Chinese Language Pack, IDE is English but my plugin shows Chinese instead of English because the language of my computer is Chinese

What I'm expecting is that English is displayed when the Chinese Language Pack plugin is not enabled, and Chinese is displayed if enabled

Is there any way to do it?




Please sign in to leave a comment.