JavaFX dialogs internationalization

Hello, I have foud an issue with translating buttons in built-in JavaFX dialogs. I have an application where I'm using "java modules". My goal is to be able to translate every single button in dialog. Translation resources are available on this place: https://github.com/openjdk/jfx/blob/master/modules/javafx.controls/src/main/resources/com/sun/javafx/scene/control/skin/resources Resources are loaded throu this class: https://github.com/openjdk/jfx/blob/master/modules/javafx.controls/src/main/java/com/sun/javafx/scene/control/skin/resources/ControlResources.java Without "java modules" I could simply create custom translation in my projects resources "com/sun/javafx/scene/control/skin/resources" and it should work. But when "java modules" are used, this is not allowed because package "com.sun.javafx.scene.control.skin.resources" would exist in multiple modules, which is not allowed. Does anyone had to solve this kind of issue? Thank you.
GitHub
jfx/modules/javafx.controls/src/main/resources/com/sun/javafx/scene...
JavaFX mainline development. Contribute to openjdk/jfx development by creating an account on GitHub.
GitHub
jfx/modules/javafx.controls/src/main/java/com/sun/javafx/scene/cont...
JavaFX mainline development. Contribute to openjdk/jfx development by creating an account on GitHub.
1 Reply
JavaBot
JavaBot12mo ago
This post has been reserved for your question.
Hey @stechy1! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here. 💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived. If your question was not answered yet, feel free to re-open this post or create a new one. In case your post is not getting any attention, you can try to use /help ping. Warning: abusing this will result in moderative actions taken against you.
Want results from more Discord servers?
Add your server