Closed mlep closed 7 years ago
I think it is just a Case-Sensitive filename problem. I will look at that
I'm using 3.8.2, and I'm facing the same problem. I think it's the same case issue.
@simonharrer @Siedlerchr @matthiasgeiger
Log:
12:45:11.153 [AWT-EventQueue-0] WARN net.sf.jabref.logic.l10n.Localization - Could not find bundles for language pt_br, switching to full english language
java.util.MissingResourceException: Can't find bundle for base name l10n/JabRef, locale pt_br
at java.util.ResourceBundle.throwMissingResourceException(Unknown Source) ~[?:1.8.0_131]
at java.util.ResourceBundle.getBundleImpl(Unknown Source) ~[?:1.8.0_131]
at java.util.ResourceBundle.getBundle(Unknown Source) ~[?:1.8.0_131]
at net.sf.jabref.logic.l10n.Localization.createResourceBundles(Localization.java:44) ~[JabRef-3.8.2.jar:?]
at net.sf.jabref.logic.l10n.Localization.setLanguage(Localization.java:35) ~[JabRef-3.8.2.jar:?]
at net.sf.jabref.JabRefMain.start(JabRefMain.java:56) ~[JabRef-3.8.2.jar:?]
at net.sf.jabref.JabRefMain.lambda$main$0(JabRefMain.java:40) ~[JabRef-3.8.2.jar:?]
at java.awt.event.InvocationEvent.dispatch(Unknown Source) [?:1.8.0_131]
at java.awt.EventQueue.dispatchEventImpl(Unknown Source) [?:1.8.0_131]
at java.awt.EventQueue.access$500(Unknown Source) [?:1.8.0_131]
at java.awt.EventQueue$3.run(Unknown Source) [?:1.8.0_131]
at java.awt.EventQueue$3.run(Unknown Source) [?:1.8.0_131]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_131]
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) [?:1.8.0_131]
at java.awt.EventQueue.dispatchEvent(Unknown Source) [?:1.8.0_131]
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) [?:1.8.0_131]
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) [?:1.8.0_131]
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) [?:1.8.0_131]
at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.8.0_131]
at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.8.0_131]
at java.awt.EventDispatchThread.run(Unknown Source) [?:1.8.0_131]
Caused by: java.lang.NullPointerException
at java.io.Reader.<init>(Unknown Source) ~[?:1.8.0_131]
at java.io.InputStreamReader.<init>(Unknown Source) ~[?:1.8.0_131]
at net.sf.jabref.logic.l10n.EncodingControl.newBundle(EncodingControl.java:51) ~[JabRef-3.8.2.jar:?]
at java.util.ResourceBundle.loadBundle(Unknown Source) ~[?:1.8.0_131]
at java.util.ResourceBundle.findBundle(Unknown Source) ~[?:1.8.0_131]
... 20 more
Operating system? How do you start JabRef?
I'm running the standalone jar by double clicking on it. Windows 10 x64, Java 8 update 131.
Same problem here with Jabref 3.8.2 Win10x64, Languge UI doesn't change after language is setup to Brazilian Portuguese in preferences.
In the lastest snapshot of JabRef 4.x I can't reproduce this. Due to some missing translations, there are still menu items in English, but the rest looks translated to me:
Btw, you are very welcome to improve the translations, by adding translations for missing strings. All information about translations can be found here: https://help.jabref.org/en/TranslatingGUI
@Siedlerchr updated to jabref 4 beta and the problem persisted.
JabRef 4.0.0-beta Windows 10 10.0 amd64 Java 1.8.0_131
Steps to reproduce:
Okay, thanks for your test. I could reproduce this now when starting the jar directly or by using java -jar JabRef...jar Because running from gradle/Eclipse was okay: Theoretically this should have been fixed in https://github.com/JabRef/jabref/commit/85e71eacbfb9ba0866f920a786c1813564f26845
Ah I just see it's a regression bug. The code has changed.
The bug should be fixed now. Could you please try the latest snapshot? http://builds.jabref.org/master/
@Siedlerchr, unlike the other versions I installed before, this snapshot is not being allowed to install by my antivirus...
Antivirus: Panda Protection V. 18.01.00 Detected virus W32/Exploit.gen
Thanks for your feedback. That's a false positive, I did a scan with Virustotal both 64 bit and 432bit. https://www.virustotal.com/de/file/98151afd7b241e7594ada8bb467ac4d388a1a101ca33651dcd315be175cae8af/analysis/1499623453/
I don't know if you have an option to white list the application. @koppor Maybe we need to concact the people at Panda to whitellist JabRef?
Anyway I close this bug as I tested it with the current snapshot and it worked fine.
As wirtten earlier, we would be happy if you (or someone else from the Brazilian Portugese speaking users) could contribute to the translation of the user Interface.
Thanks @Siedlerchr, tested here and is translating now! Thanks for the quick answer too...
JabRef version JabRef-3.3dev--snapshot--2016-04-12--master--f8bce59.jar on Linux Mint LMDE
Steps to reproduce:
Log:
22:03:37.907 [AWT-EventQueue-0] WARN net.sf.jabref.logic.l10n.Localization - Could not find bundles for language pt_br, switching to full english language java.util.MissingResourceException: Can't find bundle for base name l10n/JabRef, locale pt_br at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1564) ~[?:1.8.0_66] at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1387) ~[?:1.8.0_66] at java.util.ResourceBundle.getBundle(ResourceBundle.java:890) ~[?:1.8.0_66] at net.sf.jabref.logic.l10n.Localization.createResourceBundles(Localization.java:41) ~[JabRef-3.3dev--snapshot--2016-04-12--master--f8bce59.jar:?] at net.sf.jabref.logic.l10n.Localization.setLanguage(Localization.java:32) ~[JabRef-3.3dev--snapshot--2016-04-12--master--f8bce59.jar:?] at net.sf.jabref.JabRef.start(JabRef.java:84) ~[JabRef-3.3dev--snapshot--2016-04-12--master--f8bce59.jar:?] at net.sf.jabref.JabRefMain.lambda$main$0(JabRefMain.java:10) ~[JabRef-3.3dev--snapshot--2016-04-12--master--f8bce59.jar:?] at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) [?:1.8.0_66] at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) [?:1.8.0_66] at java.awt.EventQueue.access$500(EventQueue.java:97) [?:1.8.0_66] at java.awt.EventQueue$3.run(EventQueue.java:709) [?:1.8.0_66] at java.awt.EventQueue$3.run(EventQueue.java:703) [?:1.8.0_66] at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_66] at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) [?:1.8.0_66] at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) [?:1.8.0_66] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) [?:1.8.0_66] at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) [?:1.8.0_66] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) [?:1.8.0_66] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) [?:1.8.0_66] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) [?:1.8.0_66] at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) [?:1.8.0_66] Caused by: java.lang.NullPointerException at java.io.Reader.(Reader.java:78) ~[?:1.8.0_66]
at java.io.InputStreamReader.(InputStreamReader.java:113) ~[?:1.8.0_66]
at net.sf.jabref.logic.l10n.EncodingControl.newBundle(EncodingControl.java:51) ~[JabRef-3.3dev--snapshot--2016-04-12--master--f8bce59.jar:?]
at java.util.ResourceBundle.loadBundle(ResourceBundle.java:1501) ~[?:1.8.0_66]
at java.util.ResourceBundle.findBundle(ResourceBundle.java:1465) ~[?:1.8.0_66]
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1361) ~[?:1.8.0_66]
... 19 more