kinhong / OpenLabeler

OpenLabeler is an open source desktop application for annotating objects for AI appplications
Apache License 2.0
115 stars 11 forks source link

Problems on German System #4

Closed Ryvid closed 5 years ago

Ryvid commented 5 years ago

Hello,

i tried running this app on a system with german set as systemlanguage and it would not start. It throws the following error:

2019-08-05 11:17:14 SEVERE  com.easymobo.openlabeler.OpenLabeler: Unable to start application 
java.util.MissingResourceException: Can't find bundle for base name bundle, locale de_DE
    at java.base/java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:2055)
    at java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1689)
    at java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1593)
    at java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1556)
    at java.base/java.util.ResourceBundle.getBundle(ResourceBundle.java:857)
    at com.easymobo.openlabeler.OpenLabeler$1.call(OpenLabeler.java:74)
    at com.easymobo.openlabeler.OpenLabeler$1.call(OpenLabeler.java:70)
    at javafx.graphics/javafx.concurrent.Task$TaskCallable.call(Task.java:1425)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at java.base/java.lang.Thread.run(Thread.java:834)

Is there anything like a fallback language or do i have to change to en_US for my systemlanguage?

kinhong commented 5 years ago

Hi @Ryvid, what OS were you running on?

Ryvid commented 5 years ago

The system is running Windows 10

kinhong commented 5 years ago

@Ryvid, I have uploaded an update which should default locale to en_US. Please try v1.1.2.

Ryvid commented 5 years ago

It's working fine now! Thanks.