Get I18n Properties from Intellij Resource Bundle Christian Schulze 创建于 2018年04月19日 10:52 Hello, I want to add localization to my plugin. Can I access the resource bundle within Intellij and how can I do this?
Please refer to our localization guide.
That doesn't help. I want something like SomeI18nService.getText(KEY_TO_PROPERTIE) or a example to access my own resource file inside my code.
You need to create your own PluginBundle class, look at YAMLBundle (and its properties file) from yaml plugin for example.
Thank you, thats perfect.
Updating that the previous link from Nikolay is dead and that YAMLBundle.java is now the correct link