Separate JavaFX loading from the Neitzel injection container
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
# Message catalogs for Java and FXML
|
||||
|
||||
Create one Localizer per application. The initial locale can be null to use the JVM display locale. The second argument specifies the fallback language. Register the service with the same ApplicationContext used by ViewLoader.
|
||||
Create one Localizer per application. The initial locale can be null to use the JVM display locale. The second argument specifies the fallback language. Expose the service through `ViewDependencies.findService(Localizer.class)`. With the Neitzel adapter, register it in the underlying `ApplicationContext`.
|
||||
|
||||
```java
|
||||
var language = new Localizer(initialLocale, Locale.ENGLISH,
|
||||
|
||||
Reference in New Issue
Block a user