I made a plugin which includes a set of inspection rules. Now I want to make these inspection descriptions adapt localization.
Let's say an inspector called "FooInspector", follow this guide I make two dir called "inspectionDescriptions" and "inspectionDescriptions_zh", both contain "FooInspector.html" but with different contents.
When I run IDEA with this plugin and Locale set to LOCALE.CHINESE, inspector show "FooInspector.html" which in "inspectionDescriptions" but not "inspectionDescriptions_zh".
So, is there any way make inspection description use "inspectionDescriptions_zh" when the IDEA environment uses LOCALE.CHINESE ?