<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Chuyi</title>
    <description>The latest articles on DEV Community by Chuyi (@chuyi_ai).</description>
    <link>https://dev.to/chuyi_ai</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4225227%2F1a3ac7f4-b11d-428c-b4ad-abc02800409a.jpg</url>
      <title>DEV Community: Chuyi</title>
      <link>https://dev.to/chuyi_ai</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/chuyi_ai"/>
    <language>en</language>
    <item>
      <title>Atendendo clientes de outros idiomas no WhatsApp Web: 5 hábitos para não errar preço, data e tamanho</title>
      <dc:creator>Chuyi</dc:creator>
      <pubDate>Wed, 02 Dec 2026 15:58:22 +0000</pubDate>
      <link>https://dev.to/chuyi_ai/atendendo-clientes-de-outros-idiomas-no-whatsapp-web-5-habitos-para-nao-errar-preco-data-e-tamanho-858</link>
      <guid>https://dev.to/chuyi_ai/atendendo-clientes-de-outros-idiomas-no-whatsapp-web-5-habitos-para-nao-errar-preco-data-e-tamanho-858</guid>
      <description>&lt;p&gt;Se você vende para fora (ou atende clientes que escrevem em espanhol, inglês ou árabe), a tradução em si costuma ser o menor problema. O que dá prejuízo é uma data trocada, um tamanho errado ou um preço que mudou no meio da conversa. Estes são os hábitos que mais ajudam, com ou sem ferramenta:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Escreva frases curtas, uma ideia por mensagem.&lt;/strong&gt; Qualquer tradutor erra menos com "O frete custa 12 dólares." do que com um parágrafo longo cheio de condições.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Confira números e datas no original.&lt;/strong&gt; Antes de confirmar um pedido, olhe o texto original do cliente: "06/07" pode ser 6 de julho ou 7 de junho, dependendo do país. Responda repetindo o número por extenso ("sexta-feira, 12 de dezembro").&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Feche cada negociação com um resumo.&lt;/strong&gt; Uma mensagem final com produto, quantidade, preço, prazo e endereço, e peça um "ok". Isso evita boa parte dos mal-entendidos que nascem da tradução.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Evite gírias e ironia nas suas respostas.&lt;/strong&gt; O cliente vai ler a sua mensagem traduzida; humor e expressões regionais quase nunca sobrevivem.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Saiba para onde vai o texto.&lt;/strong&gt; Copiar e colar em um site de tradução envia a conversa para aquele serviço. Vale saber disso antes de colar dados de cliente, endereço ou pedido.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Aviso: eu sou o desenvolvedor do Chuyi, uma extensão de navegador que mostra a tradução embaixo de cada mensagem no WhatsApp Web, Telegram Web e Messenger, com o original em cima (exibição bilíngue). Funciona no Chrome, Firefox e Edge, e o plano gratuito funciona sem conta. A extensão nunca envia mensagens por você: ela escreve a tradução na caixa e você decide quando enviar. A política de privacidade explica exatamente qual serviço faz a tradução em cada plano. Página em português: &lt;a href="https://translate.chuyi.ai/pt/?utm_source=devto&amp;amp;utm_medium=social" rel="noopener noreferrer"&gt;https://translate.chuyi.ai/pt/?utm_source=devto&amp;amp;utm_medium=social&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;O Chuyi é um produto independente, sem vínculo com WhatsApp, Meta, Telegram ou Google.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>whatsapp</category>
      <category>ecommerce</category>
      <category>productivity</category>
      <category>braziliandevs</category>
    </item>
    <item>
      <title>TelaCap: bilingual live captions for Google Meet, Zoom web and Teams web — what it does and what it can't</title>
      <dc:creator>Chuyi</dc:creator>
      <pubDate>Wed, 02 Dec 2026 09:54:58 +0000</pubDate>
      <link>https://dev.to/chuyi_ai/telacap-bilingual-live-captions-for-google-meet-zoom-web-and-teams-web-what-it-does-and-what-it-1lm</link>
      <guid>https://dev.to/chuyi_ai/telacap-bilingual-live-captions-for-google-meet-zoom-web-and-teams-web-what-it-does-and-what-it-1lm</guid>
      <description>&lt;p&gt;I made TelaCap, a browser extension that puts a translation under each live caption line in web meetings. This is what it does and where it stops.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What it does&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;You turn on the captions that the meeting already offers. TelaCap reads the captions shown on the page and shows each line with a translation underneath, in the language you choose.&lt;/li&gt;
&lt;li&gt;It shows two languages at once: the original line and the translation.&lt;/li&gt;
&lt;li&gt;It works for Google Meet, the Zoom web client and Microsoft Teams on the web, opened in your browser.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;What it doesn't do&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It does not join, host or control the meeting.&lt;/li&gt;
&lt;li&gt;It does not work in the desktop apps, only in meetings opened in a browser.&lt;/li&gt;
&lt;li&gt;If the meeting has no captions turned on, there is nothing to translate.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Plans&lt;/strong&gt;: free, 30 minutes of translated captions per month. Paid, 900 minutes per month (US$6.99 per month or US$59.99 per year).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Install&lt;/strong&gt;: download the .zip from the site (there is a Chrome package and an Edge package; use the one for your browser) and load it in developer mode. That copy does not update itself. No Firefox version.&lt;/p&gt;

&lt;p&gt;Unofficial tool. Not affiliated with or endorsed by Google, Microsoft or Zoom.&lt;/p&gt;

&lt;p&gt;Download: &lt;a href="https://telacap.chuyi.ai/download?utm_source=dev.to&amp;amp;utm_campaign=1202"&gt;https://telacap.chuyi.ai/download?utm_source=dev.to&amp;amp;utm_campaign=1202&lt;/a&gt;&lt;br&gt;
Contact: &lt;a href="mailto:hi@telacap.chuyi.ai"&gt;hi@telacap.chuyi.ai&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Question for you: which meeting platform do you use captions on most, and which language pair would you want?&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>webdev</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Translate and reply to overseas buyers in WhatsApp Web: a practical walk-through</title>
      <dc:creator>Chuyi</dc:creator>
      <pubDate>Sun, 29 Nov 2026 15:56:18 +0000</pubDate>
      <link>https://dev.to/chuyi_ai/translate-and-reply-to-overseas-buyers-in-whatsapp-web-a-practical-walk-through-434n</link>
      <guid>https://dev.to/chuyi_ai/translate-and-reply-to-overseas-buyers-in-whatsapp-web-a-practical-walk-through-434n</guid>
      <description>&lt;p&gt;A buyer writes in a language you do not type all day. You can copy the message into a separate translator, paste a reply back, and hope nothing important — a size, a date, a unit price — drifted in the process. You can also keep the translation next to the chat and send the translated text yourself, after you have looked at it.&lt;/p&gt;

&lt;p&gt;I built &lt;a href="https://wa.chuyi.ai/?utm_source=devto&amp;amp;utm_medium=social&amp;amp;utm_campaign=wa-launch" rel="noopener noreferrer"&gt;Chuyi WA Toolkit&lt;/a&gt; around that second habit. It is a desktop browser extension for WhatsApp Web. I'm the developer. It is an independent product and is not affiliated with, endorsed by or sponsored by WhatsApp or Meta.&lt;/p&gt;

&lt;p&gt;This is a practical walk-through of translation and AI reply drafts in the extension. It is not a claim that a machine should be trusted with a contract.&lt;/p&gt;

&lt;h2&gt;
  
  
  Before you start
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Desktop browsers only, not a phone.&lt;/li&gt;
&lt;li&gt;Sign in to WhatsApp Web as you usually do, then sign in to the toolkit panel with your email and a 6-digit code. There is no password.&lt;/li&gt;
&lt;li&gt;Press Alt+W to open or close the panel.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  1. Turn on auto-translate for incoming messages
&lt;/h2&gt;

&lt;p&gt;Open a chat with an overseas buyer. In the panel, switch translation on and choose your language. Incoming messages can be auto-translated and shown in the conversation, in 26 languages:&lt;/p&gt;

&lt;p&gt;English, Chinese, Spanish, Portuguese, Indonesian, Hindi, Arabic, Russian, French, German, Italian, Turkish, Japanese, Korean, Vietnamese, Thai, Malay, Dutch, Polish, Ukrainian, Persian, Urdu, Bengali, Hebrew, Swahili and Filipino.&lt;/p&gt;

&lt;p&gt;Read the translation as a help, then glance back at the original for numbers. If a buyer writes “39”, “USD 4.50” or a date, those figures should match in both lines. When they do not, ask the buyer to confirm in digits.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Type in your language, send the translation
&lt;/h2&gt;

&lt;p&gt;This is the part I use most.&lt;/p&gt;

&lt;p&gt;Type your reply in the language you think in. As you type, the extension can preview the translation of the draft. When you are happy with it, press Enter to send the translated text — not a mix of both, and not a message the extension has sent behind your back. You press Enter. The extension never presses Send for you.&lt;/p&gt;

&lt;p&gt;If the preview looks off, edit the source sentence (shorter, more literal, fewer idioms) and watch the preview update before you send.&lt;/p&gt;

&lt;p&gt;A few habits that keep wholesale and retail chats safer:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Write quantities, sizes, currencies and dates as digits, even in your own language (“30 pieces, USD 2.10, leave Ningbo 12 Dec”).&lt;/li&gt;
&lt;li&gt;Avoid sarcasm and half-finished sentences; both travel badly.&lt;/li&gt;
&lt;li&gt;For anything that commits you — a price, a lead time, a refund — reread the translated line before Enter.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  3. What “standard” and “Pro” translation actually do
&lt;/h2&gt;

&lt;p&gt;During the free trial, translation is standard machine translation. When translation is on and you are not on Pro, the message text is sent to Google Translate, or handled by your browser’s built-in translator, as described in the &lt;a href="https://wa.chuyi.ai/privacy" rel="noopener noreferrer"&gt;privacy policy&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Pro uses AI translation, which the listing describes as better with slang, tone and context. For Pro AI translation and AI replies, the text involved (the message, your draft, or up to the last 14 messages of the open chat) is sent to wa.chuyi.ai and forwarded to an AI model provider. The privacy policy states that this text is not stored. I do not name the model provider in this article, because the public policy does not.&lt;/p&gt;

&lt;p&gt;Settings, notes and logs stay in your browser. We store your sign-in email, plan and usage counts. The extension contains no analytics or advertising code. We do not read, upload or sell your chats, contacts or phone numbers.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Ask for an AI reply draft — then edit it
&lt;/h2&gt;

&lt;p&gt;If a thread is already long and you want a first pass in the buyer’s language, you can ask for an AI reply draft. The draft is written from the conversation, in the customer’s language. You review it in the box, change anything that is wrong or too casual, and only then send it.&lt;/p&gt;

&lt;p&gt;Treat the draft as a starting point, not as a signed letter:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Check every number, name and promise.&lt;/li&gt;
&lt;li&gt;Cut stock phrases that you would not say yourself.&lt;/li&gt;
&lt;li&gt;If the buyer asked two questions, make sure both are answered.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Again: you send. The extension drafts.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Save the lines you reuse
&lt;/h2&gt;

&lt;p&gt;For greetings, packing notes or “please confirm the size in numbers,” save a quick reply and insert it by typing &lt;code&gt;/&lt;/code&gt; in the message box. You can then run that pasted text through the outgoing translation preview if you wrote the saved reply in your language.&lt;/p&gt;

&lt;p&gt;This pairs cleanly with notes and tags on the same chat (order status, a follow-up reminder) so you are not translating the same “where is my parcel?” thread from memory. I wrote a separate walk-through of notes, tags and reminders if you want that workflow in more detail.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. A worked example
&lt;/h2&gt;

&lt;p&gt;Suppose a buyer writes, in Spanish, that they want twenty units of an item in size 39, and asks whether you can ship this week.&lt;/p&gt;

&lt;p&gt;You read the auto-translated line, then look at the original for “20”, “39” and the date. You type, in English or Chinese: “Yes, size 39, 20 pieces. If you confirm today we can ship on 3 December. I will send the tracking number after handover.” The preview appears in Spanish. You check that 20, 39 and 3 December are intact, press Enter, and the translated text goes out.&lt;/p&gt;

&lt;p&gt;If you would rather start from a draft, ask the AI to propose a reply in the buyer’s language, replace any soft “maybe” with the date you can actually meet, and send it yourself.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I will not claim
&lt;/h2&gt;

&lt;p&gt;I will not tell you that a translation is always correct, that AI understands every industry term, or that you can skip reading the outgoing line. I will not tell you to blast translated promotions at strangers. If you use the paced bulk sender for people who already opted in, follow WhatsApp’s terms, keep volumes modest and leave the delays on. WhatsApp can restrict accounts that send unwanted messages. I do not promise unlimited sending, and I do not claim that an account cannot be restricted.&lt;/p&gt;

&lt;p&gt;Privacy blur, if you turn it on, hides messages, names and photos on your screen (hover to reveal, Alt+X for the whole page). That is screen privacy, not a data-security guarantee beyond what the privacy policy states.&lt;/p&gt;

&lt;h2&gt;
  
  
  Pricing, briefly
&lt;/h2&gt;

&lt;p&gt;New accounts get a 3-day free trial with no card. After the trial, the core tools stay free. Pro is a one-time payment by default, with no auto-renew unless you choose it; check the current details in the pricing section of &lt;a href="https://wa.chuyi.ai/?utm_source=devto&amp;amp;utm_medium=social&amp;amp;utm_campaign=wa-launch" rel="noopener noreferrer"&gt;wa.chuyi.ai&lt;/a&gt;. Bulk messaging and AI features are part of Pro.&lt;/p&gt;

&lt;p&gt;Store versions for several browsers are coming soon. For now, the extension is available from the &lt;a href="https://wa.chuyi.ai/download?utm_source=devto&amp;amp;utm_medium=social&amp;amp;utm_campaign=wa-launch" rel="noopener noreferrer"&gt;download page&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;I'm the developer of Chuyi WA Toolkit. It is an independent product and is not affiliated with, endorsed by or sponsored by WhatsApp or Meta.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>productivity</category>
      <category>ecommerce</category>
      <category>tutorial</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Working in WhatsApp Web with customers who speak other languages: three habits that helped me</title>
      <dc:creator>Chuyi</dc:creator>
      <pubDate>Sat, 28 Nov 2026 15:29:57 +0000</pubDate>
      <link>https://dev.to/chuyi_ai/working-in-whatsapp-web-with-customers-who-speak-other-languages-three-habits-that-helped-me-5dae</link>
      <guid>https://dev.to/chuyi_ai/working-in-whatsapp-web-with-customers-who-speak-other-languages-three-habits-that-helped-me-5dae</guid>
      <description>&lt;p&gt;If you answer customers in WhatsApp Web all day, a few small habits save a surprising amount of time. These are the three that worked for me.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Blur the screen when other people can see it
&lt;/h2&gt;

&lt;p&gt;Shared desks, screen shares and cafés all show customer names and messages. Blurring names, previews and photos until you hover (and locking the page with a PIN when you step away) removes the worry.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Translate incoming messages, and preview your reply before it goes out
&lt;/h2&gt;

&lt;p&gt;Reading a customer's message in your own language is half of it. The other half is checking how your reply reads in theirs before you send it, instead of pasting text into another tab.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Turn the replies you type every day into quick replies
&lt;/h2&gt;

&lt;p&gt;Opening hours, shipping times, payment steps: if you type it twice a day, save it once.&lt;/p&gt;

&lt;h2&gt;
  
  
  How the extension I built keeps working when WhatsApp Web changes
&lt;/h2&gt;

&lt;p&gt;I put these three habits (plus notes, labels, CSV export and a paced bulk sender for people who opted in) into one panel, Chuyi WA Toolkit. WhatsApp Web changes its page structure often, so the extension reads its page selectors from a small JSON config on our server. It is data only, no remote code, so we can adjust it when WhatsApp Web changes without waiting for a store review. It is a Manifest V3 extension with three host permissions: web.whatsapp.com, our API, and translate.googleapis.com (standard translation uses Google's public translate endpoint; AI features go through our server).&lt;/p&gt;

&lt;h2&gt;
  
  
  Plans, honestly
&lt;/h2&gt;

&lt;p&gt;You can try every feature free for 3 days (no card). After that, the core tools stay free: privacy blur, PIN lock, privacy toggles, notes and labels with no set cap, contact and group-member CSV export, the deleted-message log, a small number of quick replies and reminders, a daily allowance of standard (Google) translation, and a small daily amount of bulk sending with a fixed interval and no attachments. AI translation and AI replies need Pro, as do attachments, custom delays, and lifting the cap on quick replies and reminders. Pro is $4.99 for one month or $36.99 for one year, and it only renews automatically if you choose auto-renew.&lt;/p&gt;

&lt;p&gt;If you use the bulk sender, message only people who agreed to hear from you and follow WhatsApp's terms; accounts that send unwanted messages can be restricted.&lt;/p&gt;

&lt;p&gt;The Chrome and Edge store listings are coming soon. For now you can download the package from the site and install it manually (steps are on the download page).&lt;/p&gt;

&lt;p&gt;I'm the maker of Chuyi WA Toolkit. Independent product, not affiliated with WhatsApp or Meta.&lt;/p&gt;

&lt;p&gt;Site: &lt;a href="https://wa.chuyi.ai/?utm_source=devto&amp;amp;utm_medium=community&amp;amp;utm_campaign=wa-launch" rel="noopener noreferrer"&gt;https://wa.chuyi.ai/?utm_source=devto&amp;amp;utm_medium=community&amp;amp;utm_campaign=wa-launch&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>productivity</category>
      <category>extensions</category>
      <category>ecommerce</category>
    </item>
    <item>
      <title>Building a chat translator extension for WhatsApp Web: lessons from fighting a moving DOM</title>
      <dc:creator>Chuyi</dc:creator>
      <pubDate>Tue, 10 Nov 2026 16:21:01 +0000</pubDate>
      <link>https://dev.to/chuyi_ai/building-a-chat-translator-extension-for-whatsapp-web-lessons-from-fighting-a-moving-dom-36ho</link>
      <guid>https://dev.to/chuyi_ai/building-a-chat-translator-extension-for-whatsapp-web-lessons-from-fighting-a-moving-dom-36ho</guid>
      <description>&lt;p&gt;Web chat apps re-render constantly, class names change without notice, and a quoted message looks a lot like a new one. Here's what I learned building &lt;strong&gt;Chuyi&lt;/strong&gt;, a small extension that puts translations under chat messages in WhatsApp Web, Telegram Web and Messenger — and lets you review your translated reply before you press Enter yourself.&lt;/p&gt;

&lt;p&gt;(Chuyi is independent and not affiliated with WhatsApp, Meta or Telegram.)&lt;/p&gt;




&lt;h2&gt;
  
  
  The copy-paste problem
&lt;/h2&gt;

&lt;p&gt;I kept watching people who sell online do the same dance: copy a buyer message, switch to a translator tab, paste, read, switch back, type a reply, translate that too, paste back, hit Enter. Do that across a busy afternoon and the rhythm of the conversation is gone.&lt;/p&gt;

&lt;p&gt;Chrome's built-in "Translate this page" almost works — until it also translates the compose box, the sidebar, and every button label. A chat translator needs to touch &lt;em&gt;message text&lt;/em&gt;, leave the UI alone, and stay out of the send path.&lt;/p&gt;

&lt;p&gt;That last point mattered. If an extension fires Enter for you, one bad translation can go out as a wrong price or date. Chuyi's rule from day one: &lt;strong&gt;translate the draft, show a preview, and stop. You press Enter.&lt;/strong&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  MutationObserver + per-site adapters
&lt;/h2&gt;

&lt;p&gt;WhatsApp Web, Telegram Web, and Messenger are single-page apps. Messages appear, vanish on scroll, get replaced when a quote or reaction updates, and remount when you switch chats. A one-shot &lt;code&gt;querySelectorAll&lt;/code&gt; at load time misses almost everything that matters.&lt;/p&gt;

&lt;p&gt;The core loop:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Attach a &lt;code&gt;MutationObserver&lt;/code&gt; to the chat pane (or a stable parent that survives re-renders).&lt;/li&gt;
&lt;li&gt;On each batch of mutations, walk added nodes and find message containers.&lt;/li&gt;
&lt;li&gt;Extract the plain text of the message body — not the whole bubble.&lt;/li&gt;
&lt;li&gt;Skip anything already marked as translated.&lt;/li&gt;
&lt;li&gt;Ask the translation engine, then inject a small block under the original.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The hard part is not the observer — it is that each site structures messages differently. WhatsApp nests quotes, forward labels, and link previews in the same bubble; Telegram nests differently; Messenger changes often enough that brittle CSS selectors die quietly.&lt;/p&gt;

&lt;p&gt;So Chuyi uses &lt;strong&gt;per-site adapters&lt;/strong&gt;: a thin layer per host that answers questions the shared pipeline should not care about.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Where is the scrollable chat list?&lt;/li&gt;
&lt;li&gt;What node is a message bubble?&lt;/li&gt;
&lt;li&gt;Which child is the primary body text?&lt;/li&gt;
&lt;li&gt;Which children are quotes, forwards, link previews, or system notices?&lt;/li&gt;
&lt;li&gt;Where is the compose box, and how do we read/write its value without breaking the page's own handlers?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Everything above the adapter — observer scheduling, dedupe, engine selection, rendering under the bubble — stays shared. WhatsApp renames a class? Fix one adapter. Telegram moves the compose box? Fix another.&lt;/p&gt;

&lt;p&gt;A few practical lessons:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Prefer attributes and roles that survive redesigns over long class chains.&lt;/li&gt;
&lt;li&gt;Debounce mutation handling. Chat UIs fire a lot of noise (presence, typing indicators, image placeholders).&lt;/li&gt;
&lt;li&gt;Mark translated nodes so a soft re-render of the bubble does not re-request the same sentence forever.&lt;/li&gt;
&lt;li&gt;Treat "chat switched" as a first-class event: reattach to the new pane, or you will translate ghost nodes.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Not re-translating quotes, forwards, and link previews
&lt;/h2&gt;

&lt;p&gt;The first version translated every text node it could find. That produced three failure modes users notice immediately:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Quoted replies&lt;/strong&gt; got translated again inside the new message, so a short reply looked like a wall of duplicated text.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Forwards&lt;/strong&gt; often carry a header plus the original body; translating the header looks broken, and translating the body twice wastes engine calls.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Link previews&lt;/strong&gt; pull title/description from a URL. Those strings are not part of what the person typed, and translating them can invent meaning that was never in the chat.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The fix is adapter-level classification before any engine call. For each candidate message, the adapter returns the body text &lt;em&gt;and&lt;/em&gt; regions to ignore. Quotes, forward labels, and preview cards are skipped. Only the primary body goes to the translator.&lt;/p&gt;

&lt;p&gt;That means reading the DOM the way a human reads the bubble: indented block is context; larger block is what they just said. Getting that wrong is worse than translating nothing — the UI looks busy and untrustworthy.&lt;/p&gt;

&lt;p&gt;A related trap: scrolling up remounts older messages that look "new" to the observer. Deduping by a stable message id (when available) or a hash of chat context plus body text avoids hammering the engine on every scroll.&lt;/p&gt;




&lt;h2&gt;
  
  
  Free engines: Google Translate vs Chrome's Translator API (138+)
&lt;/h2&gt;

&lt;p&gt;Chuyi's free tier talks to translation engines &lt;strong&gt;from the browser&lt;/strong&gt;. Two paths:&lt;/p&gt;

&lt;h3&gt;
  
  
  Google Translate (network)
&lt;/h3&gt;

&lt;p&gt;Send the text from the extension to Google Translate and render the result. Pros: broad language coverage, familiar chat quality, works when on-device APIs are missing. Cons: text leaves the machine; network latency; partial failures must fail soft (show nothing rather than a half-wrong line under a price quote).&lt;/p&gt;

&lt;h3&gt;
  
  
  Chrome's built-in Translator API (Chrome 138+)
&lt;/h3&gt;

&lt;p&gt;Newer Chromium builds expose an on-device translator. When available, text can stay on the device. Pros: stronger privacy, offline once language packs are present, no round trip for short messages. Cons: depends on browser version and packs; pairs differ from the cloud service; you still need a fallback when the API or pair is missing.&lt;/p&gt;

&lt;p&gt;Chuyi treats engine choice as a setting with automatic fallback: prefer on-device when the user wants it and the pair is supported; otherwise Google Translate from the browser. Neither path routes chat text through Chuyi's servers.&lt;/p&gt;

&lt;p&gt;I deliberately do &lt;strong&gt;not&lt;/strong&gt; add a silent "AI rewrite" hop on the free tier. Pro offers tone controls (casual / business / short) on its separate AI translation path, with the same rule: the user reviews the draft and presses Enter.&lt;/p&gt;




&lt;h2&gt;
  
  
  Privacy choices: no server, no analytics
&lt;/h2&gt;

&lt;p&gt;A chat translator sits next to some of the most sensitive text a person types all day. If that text goes through my backend "for convenience," I inherit a data problem I do not want — so I refused that design.&lt;/p&gt;

&lt;p&gt;So the free tier is shaped around constraints:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;No Chuyi server in the translation path.&lt;/strong&gt; The browser talks to Google Translate, or to Chrome's on-device translator.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No contact list, phone number, or chat-title scraping&lt;/strong&gt; for translation. The extension needs the message body and enough DOM context to place the translation — not an address book.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No analytics SDK&lt;/strong&gt; watching which chats you open. If I cannot measure something without reading private text, I do not measure it that way.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This is stricter than many assistant-style extensions, and it shows up as missing dashboards on my side. Trust is the product for a tool that lives inside WhatsApp Web.&lt;/p&gt;




&lt;h2&gt;
  
  
  Why it never sends messages
&lt;/h2&gt;

&lt;p&gt;Automation is tempting: translate, fill the box, dispatch &lt;code&gt;Enter&lt;/code&gt;, ship a demo GIF. I refused that path: &lt;strong&gt;sending is irreversible in a way that translating is not.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Buyers remember a wrong price; landlords remember a wrong date. A mistranslated "cancel" is a conversation event, not a UI bug. Outgoing flow:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;You type in your language (or theirs).&lt;/li&gt;
&lt;li&gt;You hit &lt;strong&gt;Alt+T&lt;/strong&gt; (or the preview control) to translate the draft in place.&lt;/li&gt;
&lt;li&gt;You read the preview. Undo if needed.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;You&lt;/strong&gt; press Enter.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The extension never owns the send key. Responsibility stays with the user, store review is happier, and money-sensitive chats stay "look once, then send."&lt;/p&gt;

&lt;p&gt;It also simplifies the adapter: no need to synthesize trusted input events across each site's framework. Reading and writing the compose value, plus a preview surface, is enough.&lt;/p&gt;




&lt;h2&gt;
  
  
  What's next + feedback ask
&lt;/h2&gt;

&lt;p&gt;Chuyi is a free Chrome extension, now on the &lt;a href="https://chromewebstore.google.com/detail/ddgapahiegjpoblofkeapnojkjcefphj" rel="noopener noreferrer"&gt;Chrome Web Store&lt;/a&gt;. Homepage: &lt;a href="https://translate.chuyi.ai" rel="noopener noreferrer"&gt;translate.chuyi.ai&lt;/a&gt;. Most of my testing is on WhatsApp Web; Telegram Web and Messenger are adapted — bug reports from daily users of those clients are welcome.&lt;/p&gt;

&lt;p&gt;Pro offers AI rewriting (casual / business / short), still with you pressing Enter. Chrome is the only browser store it's on today.&lt;/p&gt;

&lt;p&gt;If you build content-script tools against moving chat DOMs, tell me how you handle quote detection and compose-box writes. If you sell across languages and try Chuyi, tell me where under-bubble placement feels wrong — that is taste as much as engineering.&lt;/p&gt;

&lt;p&gt;Thanks for reading. I'm the developer of Chuyi, so take my enthusiasm with a grain of salt, and tell me what's broken.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Chuyi is independent and not affiliated with WhatsApp, Meta or Telegram.&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>extensions</category>
    </item>
  </channel>
</rss>
