Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Tim W

    (@timwhitlock)

    Sounds like invalid JSON returning from an Ajax request.
    Can you post the Ajax response text that appears in your Devtools network inspector?

    Thread Starter lluent

    (@lluent)

    Hi, in the response appears this: {“bytes”:34839,”filename”:”wp-polls-ca.po”,”modified”:”13 d’octubre de 2014 7:41″,”compiled”:8854

    Plugin Author Tim W

    (@timwhitlock)

    The JSON response is getting cut short by one character. I can’t say why this is at the moment.

    Some questions:
    – Does the Content-Length header reflect the number of characters in this response?
    – Are there any errors appearing in your log files?

    Thread Starter lluent

    (@lluent)

    Sorry, I find no fault, the error log does not put anything related. I do not think that is hosting problem, because the server is ours and the other websites with loco translate wordpress plugin work perfectly.

    I will continue investigating.

    Thread Starter lluent

    (@lluent)

    For what it’s worth, I downloaded the po file for editing with poedit and going to save the first time it gave me the following error, “Warning: header field languaje mising in header” then I tried to download other translations and all had the same fault, all had disappeared header field

    Plugin Author Tim W

    (@timwhitlock)

    I can’t explain this. Is the “Language” header present or just empty? Open the PO in a text editor to see.

    Plugin Author Tim W

    (@timwhitlock)

    Is this problem still persisting? If so, can you answer my question above?

    Thread Starter lluent

    (@lluent)

    Sorry tim, with the last update the problem has solved. I can’t explain how.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Error Saving translation’ is closed to new replies.