jDiction Forum

English => General Questions => Topic started by: leo-aiki on June 21, 2013, 04:08:23 pm

Title: Translate button marks the article as yellow
Post by: leo-aiki on June 21, 2013, 04:08:23 pm
Hi Harald,
I noticed the following behavior:
If I upload a csv file, the article is marked as translated (green), but when I hit the translate button and modify it, it turns yellow with an exclamation mark.
After manually translating a new article, it also appears as yellow with an exclamation mark.

Leo
Title: Re: Translate button marks the article as yellow
Post by: Harald Leithner on June 21, 2013, 04:18:18 pm
There is a problem detecting changed content... I have to investigate.

Basic Idea behind this feature is to take all changed text elements of a content items, create a checksum and do the same for the translation. if check sum changes the article is marked as "old translation"

But it seams that is not that easy ;-)
Title: Re: Translate button marks the article as yellow
Post by: leo-aiki on June 21, 2013, 04:24:55 pm
Right.
A quick suggestion: I would only checksum the source text, the target text may be modified (edited) to improve the translation, so it would be newer, not older.

Leo
Title: Re: Translate button marks the article as yellow
Post by: Harald Leithner on June 21, 2013, 04:37:49 pm
Yeah I don't check the translation hash ;-) I only check if translation has changed after content article changed.
Title: Re: Translate button marks the article as yellow
Post by: Harald Leithner on June 21, 2013, 06:00:25 pm
So I fixed this issue once again ;-)

and I fixed my packaging system as well, now with git hash