# נכשל בתרגום מכונה של פוסט#9153 ל-en: מחרוזת מצוטטת לא סיימה

**URL:** https://meta.discourse.org/t/failed-to-machine-translate-post-9153-to-en-quoted-string-not-terminated/364564
**Category:** Support
**Tags:** translator
**Created:** [2 במאי,‏ 2025,‏ 4:14pm UTC](https://meta.discourse.org/t/failed-to-machine-translate-post-9153-to-en-quoted-string-not-terminated/364564 "2025-05-02T16:14:22Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [2 במאי,‏ 2025,‏ 4:14pm UTC](https://meta.discourse.org/t/failed-to-machine-translate-post-9153-to-en-quoted-string-not-terminated/364564/1 "2025-05-02T16:14:22Z")

</div>

Backfilling is stuck.

```plaintext
Failed to machine-translate Post#9153 to en: quoted string not terminated (after translation) at line 1, column 100 [parse.c:251] in '{"translation":"CNN news from 10 years ago, when things were better in the United States of America.\n\nhttps://money.cnn.com/2012/10/10/news/economy/farmers-cows-candy-feed/\n\nIn the US, the cause of overweight (and certainly many other problems) is that junk food is so much healthier than real food. When you earn minimum wage and live on tips, you might leave the healthier options on the shelf if you can afford just a pound of ground beef and maple syrup.\n\nBut the problem also concerns cows:\n\n> Feeding candy to cows has become a more popular practice in tandem with the rising price of corn, which has doubled since 2009, fueled by government-subsidized demand for ethanol and this year's drought. Thrifty and resourceful farmers are tapping into the obscure market for cast-off food ingredients. Cut-rate byproducts of dubious value for human consumption seem to make fine fodder for cows. While corn goes for about $315 a ton, ice-cream sprinkles can be had for as little as $160 a ton.\n>\n\"As the price of corn has climbed, farmers either sold off their pigs and cattle, or they found alternative feeds,\" said Mike
/var/www/discourse/plugins/discourse-translator/app/services/discourse_ai/base_translator.rb:25:in `parse'
/var/www/discourse/plugins/discourse-translator/app/services/discourse_ai/base_translator.rb:25:in `translate'
/var/www/discourse/plugins/discourse-translator/app/services/discourse_translator/provider/discourse_ai.rb:28:in `block in translate_translatable!'
/var/www/discourse/plugins/discourse-translator/app/services/discourse_translator/provider/discourse_ai.rb:28:in `map'
/var/www/discourse/plugins/discourse-translator/app/services/discourse_translator/provider/discourse_ai.rb:28:in `translate_translatable!'
/var/www/discourse/plugins/discourse-translator/app/services/discourse_translator/provider/base_provider.rb:...

```

By that short snippet of text it tries translate this topic: [Lehmille suklaata ja strösseliä - Ihminen, luonto & maailma - Katiskan foorumi](https://foorumi.katiska.eu/t/lehmille-suklaata-ja-strosselia/2486)

And if I do

```plaintext
SELECT id, topic_id, post_number
FROM posts
WHERE id = 9153

```

I get same topic.

But what should I do?

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [2 במאי,‏ 2025,‏ 4:45pm UTC](https://meta.discourse.org/t/failed-to-machine-translate-post-9153-to-en-quoted-string-not-terminated/364564/3 "2025-05-02T16:45:24Z")

</div>

I fixed a typo in that post ja then I started to get errors too.

 ![The image shows a series of error messages indicating multiple job exceptions related to quoted strings not being terminated properly in a translation task. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/a/c/8/ac839d65811abbb045e311f4938f7ea93bf2571d.jpeg)

So I opened sidekiq. I read it fluently, but don’t understand much. But I would guess this isn’t normal.

 ![The image displays a Sidekick active dashboard showing job statistics and errors, including processing, failed jobs, busy jobs, and scheduled jobs, with a user interface for retrying, killing, or deleting jobs. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/d/c/a/dca43468d9c3a6afcdf52ac5990418c8430f4109.jpeg)

 ![The image is a screenshot of the Sidekiq dashboard showing a list of scheduled jobs that are repeatedly set to run immediately with a default queue, processed by an automatic translation backfill process. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/c/f/2/cf2da43f95101e92b8adde05ebbd96ec564c2c83.jpeg)

Will I break something if I just go and kill all those jobs? Or is it just waste of time and it starts to stack again?

**Edit**

Because it looks like Moneycnn onebox is an issue I changed it to plain link. No luck, same `Failed to machine-translate` notice still comes.

I cleaned Sidekiq and `Job exception` errors has disappeared.

**Edit2**

It looks like that problem disappeared when I disabled setting `Experimental inline translation`. And sure, that post has a quote in English when rest of text were in Finnish.

So — should this count as a #Contribute > Bug even it is an experimental setting?

---

<div class="post-metadata">

### Author: ![nat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nat/32/235063_2.png) [@nat](https://meta.discourse.org/u/nat)
#### Post date: [22 במאי,‏ 2025,‏ 6:28am UTC](https://meta.discourse.org/t/failed-to-machine-translate-post-9153-to-en-quoted-string-not-terminated/364564/5 "2025-05-22T06:28:54Z")

</div>

היי, כפי שאמרת, ההגדרה הניסיונית עדיין לא מיועדת לשימוש רחב, לכן לא נקבל בקשות לעת עתה. (אך בקרוב, אחרי הצהרה רשמית)

ההגדרה עצמה הוסרה :תך: מהתוסף והועברה ל-Discourse עצמה גם כן.

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [22 במאי,‏ 2025,‏ 8:27am UTC](https://meta.discourse.org/t/failed-to-machine-translate-post-9153-to-en-quoted-string-not-terminated/364564/6 "2025-05-22T08:27:45Z")

</div>

ובכן, זה חזר למצב תקין after כמה ימים. הייתי צריך למחוק באופן קבע את הנושאים שנמחקו שהיו בעייתיים, לנקות את Sidekiq ולתת למתרגם לעשות את העבודה שלו ולנקות את התור.

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [21 ביוני,‏ 2025,‏ 8:28am UTC](https://meta.discourse.org/t/failed-to-machine-translate-post-9153-to-en-quoted-string-not-terminated/364564/7 "2025-06-21T08:28:36Z")

</div>

נושא זה נסגר אוטומטית 30 יום לאחר התגובה האחרונה. תגובות חדשות אינן מורשות עוד.
