[GREENFOOT-230] Cannot create new classes when using non-english interface
This stack trace below is printed if you attempt to create a new class when using German as the interface language. It happens when the templates does not exist. It should instead default to the english templates.
java.io.FileNotFoundException: /home/polle/greenfoot/greenfoot151/lib/german/greenfoot/templates/actorclass.tmpl (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.(FileInputStream.java:106) at bluej.utility.BlueJFileReader.translateFile(BlueJFileReader.java:166) at bluej.utility.BlueJFileReader.translateFile(BlueJFileReader.java:143) at greenfoot.platforms.ide.GreenfootUtilDelegateIDE.createSkeleton(GreenfootUtilDelegateIDE.java:36) at greenfoot.util.GreenfootUtil.createSkeleton(GreenfootUtil.java:558) at greenfoot.gui.classbrowser.ClassView.createSubclass(ClassView.java:481) at greenfoot.actions.NewSubclassAction.createImageClass(NewSubclassAction.java:72) at greenfoot.actions.NewSubclassAction.actionPerformed(NewSubclassAction.java:56) *
Issue metadata
- Issue type: Bug
- Priority: High
- Fix versions: 1.5.2