Page 1 of 1
[SOLVED] Changes to translation lost
PostPosted:Tue Apr 16, 2013 7:04 pm
by baiki
Hi,
I tried to update the German translation using the built-in edit tools. The fields marked red are the ones I'd like to update. Once I did this, I clicked at the bottom of the page on send. One might think it's saved but if I open the translation again... gone. What did I do wrong again?
Baiki
Re: Changes to translation lost
PostPosted:Thu Apr 18, 2013 6:22 am
by jllort
Which is you OpenKM version ?
Can you try change only one field, and make two screenshots capture of field changed and button you click.
Re: Changes to translation lost
PostPosted:Thu Apr 18, 2013 11:14 am
by baiki
Re: Changes to translation lost
PostPosted:Mon Apr 22, 2013 10:50 am
by pavila
I was not able to reproduce the issue. Anyway I have included some changes that may prevent this problem. Please, try the night build from
http://integration.openkm.com/6.2/. Download it tomorrow because I have just uploaded the changes and the system won't generate a new WAR until this night.
Re: Changes to translation lost
PostPosted:Mon Apr 22, 2013 5:00 pm
by baiki
Hello,
I downloaded the .war file and will try to figure how to update the other server with this one. By the way: I tried it as well in an installation within Virtualbox with the 6.2.2 (but now updated to 6.2.3 and MySQL) but I have the same there. So it seems I must have made somewhere a mistake. Hopefully I have some answers tomorrow.
Thanks a lot.
Baiki
Re: Changes to translation lost
PostPosted:Wed Apr 24, 2013 8:42 am
by baiki
Hello again,
So, here is what I did:
1. I downloaded the said .war file
2. I shutdown the Tomcat server
3. Replaced the .war file
4. Started the server again
5. and still no joy since my translation changes are not saved
Thanks,
Baiki
Re: Changes to translation lost
PostPosted:Thu Apr 25, 2013 9:50 pm
by jllort
Are you executing browser from server or network ? do you have some kind of filter, proxy or similar in your network ?
Re: Changes to translation lost
PostPosted:Fri Apr 26, 2013 8:02 am
by baiki
Pretty normal setup. All within a 192.168.0/24 network, no proxy, no firewalls, no filter whatsoever. As I said, there is a Dual Core 3 GHz, 2GB, Ubuntu 12.04 64bit server with MySQL and OKM 6.2.3, and a Virtualbox version. Both have this strange behavior. Existing entries are modifiable, but the ones with red background are not. There's no browser on server (elinks is really not nice with OKM) and therefore I use Chromium and Firefox on Linux Mint.
EDIT 1: It turns out that probably just one data record is affected. Unfortunately I just tried always the first red entry which reads: 65 frontend OKM-016004 Lock denied
EDIT 2: Tried to find a logfile with some information but... didn't find any appropriate file with error messages
Re: Changes to translation lost
PostPosted:Sat Apr 27, 2013 9:26 am
by jllort
translations are based on english base. If not exist in english base has no sense to translate, could be some extra translation than really is not needed. Actually on each update we got a task to insert and update new values but not to delete deprecated that could be the nature of the problem.
make some query like this to see if really the key exists in english version:
Code: Select allSELECT * FROM OKM_TRANSLATION where TR_LANGUAGE = 'en-GB' and TR_KEY='activitylog.action';
I have not more ideas about the cause of the problem. If persists I suggest export -> sql file ( modify there ) and import language. Sincerally this is first time somebody has report this strange issue.
Re: Changes to translation lost
PostPosted:Sun Apr 28, 2013 1:55 pm
by baiki
jllort wrote:translations are based on english base. If not exist in english base has no sense to translate, could be some extra translation than really is not needed. Actually on each update we got a task to insert and update new values but not to delete deprecated that could be the nature of the problem.
make some query like this to see if really the key exists in english version:
Code: Select allSELECT * FROM OKM_TRANSLATION where TR_LANGUAGE = 'en-GB' and TR_KEY='activitylog.action';
I have not more ideas about the cause of the problem. If persists I suggest export -> sql file ( modify there ) and import language. Sincerally this is first time somebody has report this strange issue.
Guess we have a misunderstanding. I tried to capture my screen. Please have a look here:
http://www.filedropper.com/okm-translat ... omalityogv
Re: Changes to translation lost
PostPosted:Sun Apr 28, 2013 6:02 pm
by jllort
I found the problem, really was difficult to to indentify the reason althought was stupid mistake in sql file ( an extra space ). I have updated dutch translation file in wiki language packs.
You can execute it
Code: Select allUPDATE OKM_TRANSLATION SET TR_KEY='OKM-016004' where TR_KEY='OKM-016004 ';
Re: Changes to translation lost
PostPosted:Sun Apr 28, 2013 6:21 pm
by baiki
jllort wrote:I found the problem, really was difficult to to indentify the reason althought was stupid mistake in sql file ( an extra space ). I have updated dutch translation file in wiki language packs.
You can execute it
Code: Select allUPDATE OKM_TRANSLATION SET TR_KEY='OKM-016004' where TR_KEY='OKM-016004 ';
Did you mean Dutch or German? Maybe another misunderstanding?
Re: Changes to translation lost
PostPosted:Sun Apr 28, 2013 6:32 pm
by baiki
Thanks a lot. Confirmed. It works now... now I can start translating it into Swiss German (de-CH)
