Page 1 of 1

Application error when install zh_cn language support

PostPosted:Fri May 06, 2011 2:53 am
by jung
When I install zh_cn language support package in administration page, an error occurred as follow:
Code: Select all
Application error 
Class: java.sql.SQLException 
Message: Unexpected token: ZH in statement [INSERT INTO OKM_TRANSLATION (TR_MODULE, TR_KEY, TR_TEXT, TR_LANGUAGE) VALUES ('frontend', 'OKM-001001', '???????????, 'zh] 
Date: Fri May 06 10:52:34 CST 2011 
How can I do?

Re: Application error when install zh_cn language support

PostPosted:Sat May 07, 2011 6:22 pm
by jllort
Which database are you using the hypersonic that comes by default or other ?

Re: Application error when install zh_cn language support

PostPosted:Fri Jun 10, 2011 7:51 am
by sanyou
I have had the same problem before. In my case, I copy the content of the sql file and paste it to run the sql database query in the admin page. Remember to select the database JDBC. I have used this method to solve the problem. Hope you can solve the problem.

Re: Application error when install zh_cn language support

PostPosted:Sun Jun 12, 2011 8:17 am
by jllort
The problem could be that in actual release the jboss is not configured as UTF-8, we've detected that configuration parameter is not enabled by default and in some OS that's a problem ( normally windows ). In next releases it'll comes with that parameters by default ( I think this could be the problem ). It's curious than running directly the script not goes fine but copy & paste runs correctly ( probably here could be some bug reading temp file )

Re: Application error when install zh_cn language support

PostPosted:Mon Jun 13, 2011 3:45 am
by ricogun
change the system in linux, It will be OK.
it used UTF-8

Re: Application error when install zh_cn language support

PostPosted:Tue Jun 14, 2011 7:31 am
by pavila
So, after the change to UTF8 the language installation was successful?