How to check whether users enable localization plugin?

I follow https://plugins.jetbrains.com/docs/intellij/localization-guide.html and https://plugins.jetbrains.com/docs/intellij/basic-action-system.html#localizing-actions-and-groups to localization my plugin

Now there are two files: ActionsBundle.properties and ActionsBundle_zh.properties

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?

properties:

menu:

0

Please sign in to leave a comment.