Hi all,
We 've translated a portion of the en_US.properties file to greek. I've copied the translated file (el_GR.properties) to WEB-INF/config/languages and updated the locales.properties according to the rest of the file.
When I try to change the default language to el_GR the following error
An error has occurred.
For detailed error information, please see the HTML source code, and contact the forum Administrator.
/oracle/mt/j2ee/home/applications/jforum/jforum/WEB-INF/config/languages/null (No such file or directory)
and exception
<!-- BEGIN ERROR STACK TRACE
<br /> java.lang.reflect.InvocationTargetException
<br /> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
<br /> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
<br /> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
<br /> at java.lang.reflect.Method.invoke(Method.java:324)
<br /> at net.jforum.Command.process(Command.java:116)
<br /> at net.jforum.view.admin.AdminCommand.process(AdminCommand.java:63)
<br /> at net.jforum.JForum.service(JForum.java:182)
<br /> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
<br /> at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
<br /> at net.jforum.util.legacy.clickstream.ClickstreamFilter.doFilter(ClickstreamFilter.java:59)
<br /> at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
<br /> at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
<br /> at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
<br /> at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
<br /> at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
<br /> at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
<br /> at java.lang.Thread.run(Thread.java:534)
<br /> Caused by: java.io.FileNotFoundException: /oracle/mt/j2ee/home/applications/jforum/jforum/WEB-INF/config/languages/null (No such file or directory)
<br /> at java.io.FileInputStream.open(Native Method)
<br /> at java.io.FileInputStream.init(FileInputStream.java:106)
<br /> at java.io.FileInputStream.init(FileInputStream.java:66)
<br /> at net.jforum.util.I18n.load(I18n.java:151)
<br /> at net.jforum.util.I18n.load(I18n.java:128)
<br /> at net.jforum.util.I18n.changeBoardDefault(I18n.java:117)
<br /> at net.jforum.view.admin.ConfigAction.updateData(ConfigAction.java:140)
<br /> at net.jforum.view.admin.ConfigAction.editSave(ConfigAction.java:109)
<br /> ... 17 more
<br />
<br /> END ERROR STACK TRACE-->
are thrown.
Any advice?
Thank you.
[originally posted on jforum.net by tvoglou]