# الصور تتعطل عند ترجمة الصفحة تلقائيًا بواسطة إضافة ترجمة المتصفح (S3/R2 + CDN تم تكوينهما بشكل صحيح)

**URL:** https://meta.discourse.org/t/images-break-when-the-page-is-auto-translated-by-a-browser-translation-extension-s3-r2-cdn-is-configured-correctly/382980
**Category:** Bug
**Created:** [17 سبتمبر 2025، 2:57م UTC](https://meta.discourse.org/t/images-break-when-the-page-is-auto-translated-by-a-browser-translation-extension-s3-r2-cdn-is-configured-correctly/382980 "2025-09-17T14:57:36Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![hel\_Sinki](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hel_sinki/32/525916_2.png) [@hel\_Sinki](https://meta.discourse.org/u/hel_Sinki)
#### Post date: [17 سبتمبر 2025، 2:57م UTC](https://meta.discourse.org/t/images-break-when-the-page-is-auto-translated-by-a-browser-translation-extension-s3-r2-cdn-is-configured-correctly/382980/1 "2025-09-17T14:57:36Z")

</div>

عندما تقوم إضافة ترجمة المتصفح بإعادة كتابة صفحة الموضوع، تتوقف بعض صور المنشورات عن الظهور. إذا قمت بتعطيل المترجم، تظهر جميع الصور وتكون النطاقات صحيحة. يبدو أن المترجم يغير ترميز HTML المطبوخ بطريقة تتجاوز منطق إعادة كتابة عنوان URL للتحميل/التحميل البطيء الخاص بـ Discourse.

**البيئة**

- Discourse: 3.6.0.beta1-dev

- الاستضافة: حاوية تطبيق Docker قياسية

- التحميلات: Cloudflare R2

- مع **تعطيل** المترجم، يؤدي إعادة تحميل نفس الموضوع إلى عرض جميع الصور بشكل طبيعي. النقر بزر الماوس الأيمن “نسخ عنوان الصورة” ثم يعرض عنوان URL المتوقع لشبكة توصيل المحتوى (CDN).

 ![Screenshot 2025-09-17 at 07.56.57](https://global.discourse-cdn.com/meta/original/4X/4/4/3/443d482dd5dbe14a66427c269ffbd1cc0e7f0933.png)

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [18 سبتمبر 2025، 12:23ص UTC](https://meta.discourse.org/t/images-break-when-the-page-is-auto-translated-by-a-browser-translation-extension-s3-r2-cdn-is-configured-correctly/382980/2 "2025-09-18T00:23:33Z")

</div>

أنا متأكد من أن Discourse لا يمكنه التحكم في ذلك. توجد العديد من المشكلات:

> [@Inconsistent behavior of Google Translate Chrome plugin with Discourse forums](https://meta.discourse.org/t/inconsistent-behavior-of-google-translate-chrome-plugin-with-discourse-forums/173795):
>
> For English-speaking people, problems of this kind are not very clear. However, try, for example, to go to a German forum and understand something there without speaking German. Or on the Russian-language forum. To quickly translate from an unfamiliar language, Google Translate is used. And it is completely broken on this forum and many other forums using Discourse. Discourse pages cannot be translated using Google Translate: Built-in translator does not work in Google Chrome The official Goo…

> [@Links broken when using translation](https://meta.discourse.org/t/links-broken-when-using-translation/322120):
>
> I am not a native English speaker, this post may contain grammatical errors, etc. If you find any, please feel free to edit it, thank you. When I try to use the built-in translation function of Google Chrome on a website built by Discourse, nothing happens when I click on any link in the page. I noticed that the address bar changes, but the page content is not modified. Is this a known bug? Is there any way to fix it?

توصيتي هي استخدام الترجمة الأصلية لدينا

> [@Content Localization - Manual and Automatic with Discourse AI](https://meta.discourse.org/t/content-localization-manual-and-automatic-with-discourse-ai/370969):
>
> In this topic, we will walk you through the Content Localization features and how to enable them. The features are split into two parts: What is available by default in Discourse; and Discourse AI for automatic translations. For quick access to the relevant sections, use the wiki headings backhand_index_pointing_right:t2Localizing Your Community’s Content An updated version of Discourse (3.5.0.beta7-dev) gives you access to several localization features available for configuration at: \<y…
