Title: Error Saving translation
Last modified: August 22, 2016

---

# Error Saving translation

 *  Resolved [lluent](https://wordpress.org/support/users/lluent/)
 * (@lluent)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/error-saving-translation/)
 * Hi, When save the translation keep the following error: in chrome “Error: SyntaxError:
   Unexpected end of input” and in Iexplorer “Error: SyntaxError: Se esperaba ‘}'”
 * thanks in advance.
 * [https://wordpress.org/plugins/loco-translate/](https://wordpress.org/plugins/loco-translate/)

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

 *  Plugin Author [Tim W](https://wordpress.org/support/users/timwhitlock/)
 * (@timwhitlock)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/error-saving-translation/#post-5377096)
 * 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](https://wordpress.org/support/users/lluent/)
 * (@lluent)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/error-saving-translation/#post-5377286)
 * 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](https://wordpress.org/support/users/timwhitlock/)
 * (@timwhitlock)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/error-saving-translation/#post-5377288)
 * 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](https://wordpress.org/support/users/lluent/)
 * (@lluent)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/error-saving-translation/#post-5377311)
 * 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](https://wordpress.org/support/users/lluent/)
 * (@lluent)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/error-saving-translation/#post-5377314)
 * 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](https://wordpress.org/support/users/timwhitlock/)
 * (@timwhitlock)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/error-saving-translation/#post-5377370)
 * 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](https://wordpress.org/support/users/timwhitlock/)
 * (@timwhitlock)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/error-saving-translation/#post-5377395)
 * Is this problem still persisting? If so, can you answer my question above?
 *  Thread Starter [lluent](https://wordpress.org/support/users/lluent/)
 * (@lluent)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/error-saving-translation/#post-5377397)
 * 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.

 * ![](https://ps.w.org/loco-translate/assets/icon-256x256.png?rev=1000676)
 * [Loco Translate](https://wordpress.org/plugins/loco-translate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/loco-translate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/loco-translate/)
 * [Active Topics](https://wordpress.org/support/plugin/loco-translate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/loco-translate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/loco-translate/reviews/)

## Tags

 * [save](https://wordpress.org/support/topic-tag/save/)

 * 8 replies
 * 2 participants
 * Last reply from: [lluent](https://wordpress.org/support/users/lluent/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/error-saving-translation/#post-5377397)
 * Status: resolved