Page 1 of 1

Guildline for install language pack [problem fixed]

PostPosted:Sat Jun 04, 2011 4:48 am
by sanyou
Could anyone please indicate me how to install the language pack?

Re: Guildline for install language pack

PostPosted:Sun Jun 05, 2011 9:15 am
by jllort
Which openkm version ? that's only available under 5.1.x

It's so simply:
1- Go to http://wiki.openkm.com/index.php/Language_packs and download you language pack
2- connect as administrator in your OpenKM and go to administration tab
3- At right you've got a icon ( flags ) select it ... there're available languages
4- Simply select the file and upload ( translations will be registered )

You can complete translations if it's needed ( and you can export and share the translations with comunity )

Re: Guildline for install language pack

PostPosted:Tue Jun 07, 2011 8:05 am
by sanyou
Thank Jilort for your help. I have actually done the same, the following error appears when I chose the Traditional sql file to install.

Unexpected token: ZH in statement [INSERT INTO OKM_TRANSLATION (TR_MODULE, TR_KEY, TR_TEXT, TR_LANGUAGE) VALUES ('frontend', 'OKM-001001', '????????, 'zh] Then I found only the table structure is create but there is 0 definition.

Could you please help? Thanks.

Re: Guildline for install language pack

PostPosted:Thu Jun 09, 2011 3:06 am
by sanyou
My problem fixed.

I used the path http://wiki.openkm.com/index.php/Language_packs indicated by jilort. In my case, I use tradional chinese package. Then I go to the administrator page and quick on database query icon. open the package by wordpad and paste all content in the query interface and run.

Re: Guildline for install language pack [problem fixed]

PostPosted:Sat Jun 11, 2011 6:26 pm
by jllort
if you paste file into database query then runs right, but not if you loading the file ? is that ? please confirm it !
I think the problem could be jboss is not configured as utf-8, there's a parameter in jboss that must be set ( by default will come with new jboss-openkm bundle downloading, but older has not it configured ).

Re: Guildline for install language pack [problem fixed]

PostPosted:Tue Jun 14, 2011 2:00 am
by sanyou
jllort wrote:if you paste file into database query then runs right, but not if you loading the file ? is that ? please confirm it !
I think the problem could be jboss is not configured as utf-8, there's a parameter in jboss that must be set ( by default will come with new jboss-openkm bundle downloading, but older has not it configured ).
I have double confirmed my process is right. I tried again. I delete the traditional chinese table again.
Then I use the lanuague function to browse the sql file and run. There is an error message and failed.
Then I open the sql and copy all the content. Plaste the content in to the database query interface and select I run the database query. It success to build the language. The attachment contains my process of description above.

Re: Guildline for install language pack [problem fixed]

PostPosted:Thu Jun 16, 2011 6:30 am
by jllort
Which database are you using ?
Which operatin system ?

Re: Guildline for install language pack [problem fixed]

PostPosted:Thu Jun 16, 2011 9:59 am
by sanyou
Microsoft Windows XP 32 bit. I use the original db the system default - jdbc and I have not configured the jboss as utf format.

Re: Guildline for install language pack [problem fixed]

PostPosted:Thu Jun 16, 2011 5:37 pm
by jllort
It's curious than from sql query panel you can insert values but not reading the file, in both case might have the same problem.

Jboss might be configured as utf8 in JAVA_OPTS add -Dfile.encoding=utf-8