2

I would like to use the JavaFX 8 dialogs in NL locale. Unfortunately, this language is not provided by the JDK. I tried to create the _nl file in the resources of my project (at the same directory than the bundles of the JDK). When a call the ResourceBundle from a class in my project, all is working as expected. But when the ResourceBundle is called by JavaFX dialogs, my _nl file is not taken into account.

I saw here a workaround using a listener on the expanded property. But I would like a fix for all my dialogs (info, error, ...).

Is there a way for JavaFX dialogs to take into account "custom" bundle files ?

Thank you

Community
  • 1
  • 1
Jonathan
  • 85
  • 1
  • 8
  • 1
    I do not see an easier approach to your problem. Nevertheless, you can try creating a custom Dialog. – ItachiUchiha Dec 01 '15 at 11:43
  • Unfortunately, I don't see any other way than creating my own dialogs. But it's awful not to be able to add another language to this built-in dialogs. – Jonathan Dec 01 '15 at 13:04
  • Below answer is for those who need some more exotic language [post by 3ph3r](http://stackoverflow.com/questions/29612570/language-of-javafx-color-picker/29616661#29616661) – Andrei Krasutski Apr 11 '16 at 14:22

0 Answers0