• To add a new language

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
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.
 #17136  by jone
 
hi, guys,
I have downloaded a new language package, and added it Ok. Then i logout and login again. Great, i can select the new language and it works well. But next problem comes, when i shutdown and restart the service again,after login, the new language i have added disappeared, i have to re-add once again.
I have no idea no, will you give me hand?
Thanks.
 #17145  by jone
 
No one can answer my question?

I try again today, I think the data is lost when restart run.bat. The two tables OKM_LANGUAGE, OKM_TRANSLATION are restored.
Whether have I missed some configuration?
 #17146  by jllort
 
Here is explained http://wiki.openkm.com/index.php/Quick_ ... :_OpenKM_5 change OpenKM.cfg value hibernate.hbm2ddl =none

First take a look if your language is yet translated at http://wiki.openkm.com/index.php/Language_Packs , language packs are registered here http://wiki.openkm.com/index.php/Language

Otherside you should create a new language, simply execute in your administration -> query SQL view
1- change en-GB for your locale
Code: Select all
DELETE FROM OKM_TRANSLATION WHERE TR_LANGUAGE='en-GB';
DELETE FROM OKM_LANGUAGE WHERE LG_ID='en-GB';
INSERT INTO OKM_LANGUAGE (LG_ID, LG_NAME, LG_IMAGE_CONTENT, LG_IMAGE_MIME) VALUES ('en-GB', 'English', 'R0lGODlhEAALANUAALZXTnqXuP/LxP2GdrQ/L/89Pf/T02J24//r6sfS//8pJv9LSP96dj9Ao7qio/+4tf/Y1T9LpT8/c3V/s7vH/v7z8f9rZv+cmP6xp/7Wz3B6ruTq/qOt5PP1/kFXp/8yL/7h45yhuv/t8f+treDm/r5MPP729v8cGP/3+cLO/212qt7j/pSs/L+alKey7v/AvL+hnb9rX+jt/+3w/7+CeoSd/P/v7v/k7P/p6P9ycP/S2//w9I8/L/75+/+plP9hXyH5BAAAAAAALAAAAAAQAAsAAAabwAkM4NBoQiVASKVyEFqeycaU6ZE6gkxnZcJUEhFpwjbayS6YjciCY1Ea4kSlzPCtbazam4aA+CEMCwsWGQIvDxkEJQIXFww/CwUfHwoKJycDBDE4Bp0gkgofhg8jEAQaJCkpNjkokzcFEAcHLhKoKQg5IjOhCTofLwcctiQVGCYpHQMDKy4gAxnDGi0EDh4NAQQEHhISADwEEkEAOw==', 'image/gif');
2- And then in languages upload your flag ( http://www.famfamfam.com/lab/icons/silk/ )
 #17149  by jone
 
Thank you, in fact I have missed some details in the guide.

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.