0

JavaFX 8 scenes using .fxml files allow keying and automatic resolution of text strings. Most of the web discussion/examples of localization show this technique.

Is there any easy or similar method to use when manually constructing/coding JavaFX scenes? I am unable to find sources.

simpleuser
  • 1,617
  • 25
  • 36
  • 3
    There's nothing specific in the JavaFX API, you would just use a [`ResourceBundle`](http://docs.oracle.com/javase/8/docs/api/java/util/ResourceBundle.html) in the usual way. There's a [tutorial](https://docs.oracle.com/javase/tutorial/i18n/resbundle/index.html) as part of the standard Oracle Java tutorial. – James_D Mar 21 '16 at 02:09

1 Answers1

1

You can use ResourceBundle's

Take a look at this Question:

JavaFX 2 and Internationalization

Its good explained there

Community
  • 1
  • 1
Marcel
  • 1,606
  • 16
  • 29
  • Oh how hilarious - the op there asks almost the exact question I ask above, but in a *comment* for the first answer. Thanks! – simpleuser Mar 21 '16 at 18:41