Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

keys appearing in menus instead of localized

rufio
2008-01-31
2013-04-11
  • rufio
    rufio
    2008-01-31

    Hi all
    I'm trying to run fm 0.8.0 under winxp (polish locales) and java from 1.4 to 1.6 .
    All menu items, messages, just any text message is preferences key instead of localized message.
    I get the same behavior under linux, but there it's simple to change locale to C.

    I tried to start fm from command line and it exceptions similar to that included below.
    Of course Resources_pl.properties file in the jar file look perfectly ok.

    User properties found.
    Default (System) Look & Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
    java.lang.IllegalArgumentException: Malformed \uxxxx encoding.
            at java.util.Properties.loadConvert(Properties.java:387)
            at java.util.Properties.load(Properties.java:336)
            at java.util.PropertyResourceBundle.<init>(PropertyResourceBundle.java:96)
            at freemind.main.FreeMind.getLanguageResources(FreeMind.java:637)
            at freemind.main.FreeMind.getResources(FreeMind.java:588)
            at freemind.main.FreeMind.getResourceString(FreeMind.java:607)
            at freemind.controller.Controller.getResourceString(Controller.java:263)
            at freemind.controller.Controller$CloseAction.<init>(Controller.java:846)
            at freemind.controller.Controller.<init>(Controller.java:194)
            at freemind.main.FreeMind.<init>(FreeMind.java:227)
            at freemind.main.FreeMind.main(FreeMind.java:647)

    Error loading Resources
    Warning - resource string not found:icon_menu
    Warning - resource string not found (even in english):icon_menu
    java.lang.IllegalArgumentException: Malformed \uxxxx encoding.
            at java.util.Properties.loadConvert(Properties.java:387)
            at java.util.Properties.load(Properties.java:336)
            at java.util.PropertyResourceBundle.<init>(PropertyResourceBundle.java:96)
            at freemind.main.FreeMind.getLanguageResources(FreeMind.java:637)
            at freemind.main.FreeMind.getResources(FreeMind.java:588)
            at freemind.main.FreeMind.getResourceString(FreeMind.java:607)
            at freemind.controller.Controller.getResourceString(Controller.java:263)
            at freemind.controller.Controller.setTitle(Controller.java:672)
            at freemind.controller.MapModuleManager.setMapModule(MapModuleManager.java:171)
            at freemind.controller.MapModuleManager.newMapModule(MapModuleManager.java:76)
            at freemind.modes.ControllerAdapter.load(ControllerAdapter.java:544)
            at freemind.modes.mindmapmode.MindMapMode.restore(MindMapMode.java:60)
            at freemind.controller.LastOpenedList.open(LastOpenedList.java:90)
            at freemind.main.FreeMind.main(FreeMind.java:676)