Guildline for install language pack [problem fixed]

Help us to spread the OpenKM word translating the applicacion to your preferrd language.
Forum rules
Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
Post Reply
sanyou
Fresh Boarder
Fresh Boarder
Posts: 19
Joined: Sat Jun 04, 2011 4:15 am

Guildline for install language pack [problem fixed]

Post by sanyou » Sat Jun 04, 2011 4:48 am

Could anyone please indicate me how to install the language pack?
Last edited by sanyou on Thu Jun 09, 2011 3:26 am, edited 1 time in total.

jllort
Moderator
Moderator
Posts: 10830
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Guildline for install language pack

Post by jllort » Sun Jun 05, 2011 9:15 am

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 )

sanyou
Fresh Boarder
Fresh Boarder
Posts: 19
Joined: Sat Jun 04, 2011 4:15 am

Re: Guildline for install language pack

Post by sanyou » Tue Jun 07, 2011 8:05 am

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.

sanyou
Fresh Boarder
Fresh Boarder
Posts: 19
Joined: Sat Jun 04, 2011 4:15 am

Re: Guildline for install language pack

Post by sanyou » Thu Jun 09, 2011 3:06 am

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.

jllort
Moderator
Moderator
Posts: 10830
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Guildline for install language pack [problem fixed]

Post by jllort » Sat Jun 11, 2011 6:26 pm

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 ).

sanyou
Fresh Boarder
Fresh Boarder
Posts: 19
Joined: Sat Jun 04, 2011 4:15 am

Re: Guildline for install language pack [problem fixed]

Post by sanyou » Tue Jun 14, 2011 2:00 am

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.
Attachments
Chineselanguage.zip
(241.46 KiB) Downloaded 182 times
Chineselanguage.zip
(241.46 KiB) Downloaded 147 times

jllort
Moderator
Moderator
Posts: 10830
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Guildline for install language pack [problem fixed]

Post by jllort » Thu Jun 16, 2011 6:30 am

Which database are you using ?
Which operatin system ?

sanyou
Fresh Boarder
Fresh Boarder
Posts: 19
Joined: Sat Jun 04, 2011 4:15 am

Re: Guildline for install language pack [problem fixed]

Post by sanyou » Thu Jun 16, 2011 9:59 am

Microsoft Windows XP 32 bit. I use the original db the system default - jdbc and I have not configured the jboss as utf format.

jllort
Moderator
Moderator
Posts: 10830
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Guildline for install language pack [problem fixed]

Post by jllort » Thu Jun 16, 2011 5:37 pm

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

Post Reply