Page 1 of 1

incorrect translation in System settings -> security -> groups

Posted: Sun Dec 10, 2017 9:26 am
by ShaharEldad
Hi all

I found an incorrect translation for Hebrew under System settings -> Security -> Groups.
Attached a screen shot.
I couldn`t find the file in the source code it should be to fix it my self.

After reading a bit I found the launchpad translations and updated the translation. I downloaded a po file named
"messages_messages-he.po" and convertered it to a properties file named messages-he.properties and placed it under the folder "C:\LogicalDOC-Community\tomcat\webapps\ROOT\WEB-INF\classes" and also tried to place it under the folder "C:\LogicalDOC-Community\tomcat\webapps\ROOT\WEB-INF\classes\i18n".
Neither worked.

Any ideas?

Thanks
Shahar

Re: incorrect translation in System settings -> security -> groups

Posted: Mon Dec 11, 2017 2:49 pm
by agaspa
Hi Shahar,
if you managed to convert the file from .po to .properties you have to find the jar archive logicaldoc-i18n-7.7.1.jar open it with 7zip and replace the file messages_iw.properties then save and restart LogicalDOC

Re: incorrect translation in System settings -> security -> groups

Posted: Mon Dec 11, 2017 4:54 pm
by ShaharEldad
agaspa wrote:
Mon Dec 11, 2017 2:49 pm
Hi Shahar,
if you managed to convert the file from .po to .properties you have to find the jar archive logicaldoc-i18n-7.7.1.jar open it with 7zip and replace the file messages_iw.properties then save and restart LogicalDOC
Cool, I didn`t noticed I can open an archive using 7zip and update the files within
Thanks for the help

Re: incorrect translation in System settings -> security -> groups

Posted: Tue Dec 12, 2017 3:03 pm
by agaspa
Basically .jar files are zip archives... ;)

Re: incorrect translation in System settings -> security -> groups

Posted: Tue Dec 12, 2017 3:08 pm
by ShaharEldad
agaspa wrote:
Tue Dec 12, 2017 3:03 pm
Basically .jar files are zip archives... ;)
I tried to convert a zip archive to jar (by either extension name change or by online service) and it didn`t work.

Re: incorrect translation in System settings -> security -> groups

Posted: Fri Dec 15, 2017 3:51 pm
by agaspa
Of course you should create them from java or you can open them and change something inside using 7zip

Re: incorrect translation in System settings -> security -> groups

Posted: Mon Dec 18, 2017 7:30 am
by ShaharEldad
agaspa wrote:
Fri Dec 15, 2017 3:51 pm
Of course you should create them from java or you can open them and change something inside using 7zip
I see
Thanks :)

Re: incorrect translation in System settings -> security -> groups

Posted: Mon Dec 18, 2017 11:29 am
by agaspa
Hi Shahar,
you can easily create jar files usign Ant, just take a look at the links below:

Jar Task - Apahe Ant Manual
Ant - Creating JAR files
How do I create a jar file using Ant?