jDiction Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

jDiction 2.2.0 released. http://jdiction.org/downloads

Author Topic: Translate button marks the article as yellow  (Read 16790 times)

leo-aiki

  • Newbie
  • *
  • Posts: 5
    • View Profile
Translate button marks the article as yellow
« 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
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: Translate button marks the article as yellow
« Reply #1 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 ;-)
Logged
Joomla! 5.0 Release Manager
Vote at JED

leo-aiki

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Translate button marks the article as yellow
« Reply #2 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
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: Translate button marks the article as yellow
« Reply #3 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.
Logged
Joomla! 5.0 Release Manager
Vote at JED

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: Translate button marks the article as yellow
« Reply #4 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
Logged
Joomla! 5.0 Release Manager
Vote at JED