Page 1 of 1

Questions about languages and skins

PostPosted:Thu Apr 17, 2008 10:03 am
by thuper
Hi,all

I have just installed OpenKM, and have 2 questions:

1. I can see there is a chinese language in demo site. But I can\'t find on my site. why?

2. How to set default language and skin?

thanks.

Re:Questions about languages and skins

PostPosted:Thu Apr 17, 2008 11:34 am
by jllort
You can see chinese language because translation has been after we released 2.0b version and this has not been on downloable file released at sourceforge.

You can get it on cvs ( where there\'s updated ) on be waiting for about one - two weeks when we\'ll upload the OpenKM stable version ( or a new version ). I hope it\'ll be the stable.

Actually only OpenKM enterprise can set default language on configuration, community only detect your browser language an if not found on list sets english.

About setting a default skin i\'ll put on our tracking system because some languages like persian and chinese has a skin for better UI visualization, and this could be interesting on some installation to be the default. Set default skin it not yet done, but seems a interesting idea.

Re:Questions about languages and skins

PostPosted:Thu Apr 17, 2008 12:02 pm
by thuper
Thanks.
And when there is a new version, Is it easy to update with keeping repositories and settings?

Re:Questions about languages and skins

PostPosted:Thu Apr 17, 2008 12:07 pm
by thuper
And can you tell me which files in cvs are language files?

Re:Questions about languages and skins

PostPosted:Thu Apr 17, 2008 2:10 pm
by jllort
If you browser cvs you\'ll find all language files, chinese language file is called Lang_cn_CN.java

Version 2.0b is a beta version, the 1.2 version is the last stable.

Migration on 2.0a to 2.0b to stable 2.0 it not be needed only replace OpenKM.ear file on jboss/server/default/deploy

Migration is needed between OpenKM 1.2 to 2.0.

Be waiting for about two weeks when we\'ll release stable one. Actually OpenKM 2.0b has minor bugs, not critical ( major are UI defects that we\'ve been correcting ).

Re:Questions about languages and skins

PostPosted:Fri Apr 18, 2008 1:03 am
by thuper
Thank you again. I\'ll wait. :)

Re:Questions about languages and skins

PostPosted:Tue Apr 29, 2008 8:37 am
by thuper
About \"community only detect your browser language\".

It dosen\'t work to chinese.

I think you gave a wrong name to chinese language. In browser settings, usually refer to \"zh_cn\" as simplified chinese, \"zh_tw\" as traditional chinese. But I saw that OpenKM named chinese language \"cn_CN\".

I\'m not sure, maybe you can try.

Re:Questions about languages and skins

PostPosted:Wed Apr 30, 2008 8:41 am
by jllort
I\'ve been looking iso codification language an I think it could be cn_ZH or tw_ZH, I\'ll rename this files and change openkm demo. When it be done I post on forum if you can try it.

Re:Questions about languages and skins

PostPosted:Wed Apr 30, 2008 9:39 am
by thuper
Yes. \"zh_cn\" and \"zh_tw\" are right, just like \"en_us\" and \"en_uk\".

And I saw there is only simplified chinese. so \"zh_cn\" is right.

Re:Questions about languages and skins

PostPosted:Fri May 02, 2008 12:05 pm
by pavila
I\'ve updated the demo to the last CVS version. This version should fix this issue. Can you confirm it? Clean the browser cache before try the last version.

Re:Questions about languages and skins

PostPosted:Sun May 04, 2008 12:26 am
by thuper
Yes. It works. good job. :)

Re:Questions about languages and skins

PostPosted:Sun May 04, 2008 9:29 am
by jllort
OK

This week, finally, we\'ll release the OpenKM 2.0 Stable version on sourceforge ( we arribe two weeks later than initial previsions ).