KamoCRM

Keep ampersands out of LibreTranslate's en->es model, which quotes or truncates them

FixTranslateService
Shipped
September 28, 2026 at 10:39 AM UTC
Author
Kamo
Commit
b739fa4

Moving en->es to LibreTranslate (27888ca) exposed a fault in its model: a spaced ampersand comes back as a double quote ("Billing & Payments" -> 'Billing " Payments', 19 of 60 dictionary strings) and the text stops at a joined one ("B&W" -> "B", "AT&T" -> "AT"). For es the provider now sends "and" for a spaced ampersand and "+" for a joined one, and puts the "&" back when the reply carries every "+" it was sent (0 of 60 damaged). fr, it and pt carry the ampersand (0 of 60) and are sent it unchanged.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing