# After configuring AI translation, posts have been automatically translated, but the language switching button is not displayed at the top and right of the post

**URL:** https://meta.discourse.org/t/ai/388624
**Category:** Support
**Tags:** ai, content-localization
**Created:** [November 17, 2025, 4:02am UTC](https://meta.discourse.org/t/ai/388624 "2025-11-17T04:02:47Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![EasyChen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/easychen/32/529777_2.png) [@EasyChen](https://meta.discourse.org/u/EasyChen)
#### Post date: [November 17, 2025, 4:02am UTC](https://meta.discourse.org/t/ai/388624/1 "2025-11-17T04:02:47Z")

</div>

Hello everyone, I just finished setting up Discourse and followed the guide at [https://meta.discourse.org/t/content-localization-manual-and-automatic-with-discourse-ai/370969](https://meta.discourse.org/t/content-localization-manual-and-automatic-with-discourse-ai/370969) to set up automatic translation.

Now, from the translation progress in the backend, I can see that the post content has been translated.  
 ![image](https://global.discourse-cdn.com/meta/original/4X/9/6/a/96ab1e304f4b18f70e0d953ba3ab0237495393e6.png)

However, the language switching icon does not appear at the top or side of the posts, which prevents me from viewing the translated results.

As shown in the Chinese post in the image, the translated content is not visible and there is no translation button when in the English interface.

The language selection button in the upper right corner of the interface does appear, but it can only adjust the interface language.

How should I adjust the configuration or troubleshoot the issue?

---

<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: [November 17, 2025, 4:10am UTC](https://meta.discourse.org/t/ai/388624/2 "2025-11-17T04:10:08Z")

</div>

Hey, you can go to the site setting `Content localization language switcher` to turn it on.

---

<div class="post-metadata">

### Author: ![EasyChen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/easychen/32/529777_2.png) [@EasyChen](https://meta.discourse.org/u/EasyChen)
#### Post date: [November 17, 2025, 4:12am UTC](https://meta.discourse.org/t/ai/388624/3 "2025-11-17T04:12:33Z")

</div>

> [@nat](#):
>
> Content localization language switcher

Thanks for the reply. I have already set it to “all”, but it doesn’t seem to be working.

![image](https://global.discourse-cdn.com/meta/original/4X/5/6/6/566683adfff39d28292b5ae8151595fbb765f0b5.png)

---

<div class="post-metadata">

### Author: ![EasyChen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/easychen/32/529777_2.png) [@EasyChen](https://meta.discourse.org/u/EasyChen)
#### Post date: [November 17, 2025, 4:26am UTC](https://meta.discourse.org/t/ai/388624/4 "2025-11-17T04:26:02Z")

</div>

Perhaps I didn’t make it clear enough before, the language switching button in the upper right corner of the site can be displayed, but there are no language labels on the right and top of the posts and in the menu.

![Screenshot 2025-11-17 at 12.24.07](https://global.discourse-cdn.com/meta/original/4X/e/5/7/e57087fc5208dfa4c17f32fa2d242eb463a5189c.png)

---

<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: [November 17, 2025, 4:34am UTC](https://meta.discourse.org/t/ai/388624/5 "2025-11-17T04:34:16Z")

</div>

Are you referring to this?

 ![image](https://global.discourse-cdn.com/meta/original/4X/e/c/8/ec85cc68d76d7d80202fed81d948c7ab7a5dcbee.png)

This will only show up if the post language is different from your user’s chosen language, to indicate the “original” language.

---

<div class="post-metadata">

### Author: ![EasyChen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/easychen/32/529777_2.png) [@EasyChen](https://meta.discourse.org/u/EasyChen)
#### Post date: [November 17, 2025, 4:49am UTC](https://meta.discourse.org/t/ai/388624/6 "2025-11-17T04:49:27Z")

</div>

Yes, neither the top nor the right side is displayed. My interface is set to English (as indicated by the date on the right), and the posts are in Chinese.

I have enabled `SiteSetting.ai_translation_verbose_logs = true`.

 ![image](https://global.discourse-cdn.com/meta/original/4X/d/c/9/dc9addd28167fe19304054575d40311a9ada4356.png)

Here are the relevant logs:

> ****
>
> ```plaintext
> Message (4 copies reported)
> 
> DiscourseAi::Translation: Detected 2 topic locales
> 
> Backtrace
> 
> /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.4/lib/active_support/broadcast_logger.rb:218:in block in dispatch' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.4/lib/active_support/broadcast_logger.rb:217:in map’
> /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.4/lib/active_support/broadcast_logger.rb:217:in dispatch' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.4/lib/active_support/broadcast_logger.rb:129:in warn’
> /var/www/discourse/plugins/discourse-ai/lib/translation/verbose_logger.rb:8:in log' /var/www/discourse/plugins/discourse-ai/app/jobs/scheduled/topics_locale_detection_backfill.rb:45:in execute’
> /var/www/discourse/app/jobs/base.rb:318:in block (2 levels) in perform' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rails_multisite-7.0.0/lib/rails_multisite/connection_management/null_instance.rb:49:in with_connection’
> /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rails_multisite-7.0.0/lib/rails_multisite/connection_management.rb:17:in with_connection' /var/www/discourse/app/jobs/base.rb:305:in block in perform’
> /var/www/discourse/app/jobs/base.rb:301:in each' /var/www/discourse/app/jobs/base.rb:301:in perform’
> /var/www/discourse/app/jobs/base.rb:381:in perform' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/mini_scheduler-0.18.0/lib/mini_scheduler/manager.rb:137:in process_queue’
> /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/mini_scheduler-0.18.0/lib/mini_scheduler/manager.rb:77:in worker_loop' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/mini_scheduler-0.18.0/lib/mini_scheduler/manager.rb:63:in block (2 levels) in ensure_worker_threads’
> 
> ```

I don’t know if this is related.

---

<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: [November 17, 2025, 5:54am UTC](https://meta.discourse.org/t/ai/388624/7 "2025-11-17T05:54:30Z")

</div>

> [@EasyChen](#):
>
> ![Screenshot 2025-11-17 at 12.24.07](https://global.discourse-cdn.com/meta/original/4X/e/5/7/e57087fc5208dfa4c17f32fa2d242eb463a5189c.png)

Can you edit this post, then check if the post locale has been detected yet?

 ![IMG_8292](https://global.discourse-cdn.com/meta/original/4X/c/1/a/c1a9c67eabbcbbac98e05e68115f6c9da2aca5c1.jpeg)

It would ideally show up as `zh_CN`.

Automatic post locale detection takes time and is required to determine what the language of the post is. You can also set this yourself in the composer, then the automatic detection will be skipped if the value is set.

---

<div class="post-metadata">

### Author: ![EasyChen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/easychen/32/529777_2.png) [@EasyChen](https://meta.discourse.org/u/EasyChen)
#### Post date: [November 17, 2025, 6:07am UTC](https://meta.discourse.org/t/ai/388624/8 "2025-11-17T06:07:50Z")

</div>

![image](https://global.discourse-cdn.com/meta/original/4X/b/9/7/b972cbed265f8568471ab946e7d6b099696ebdf2.png)  
The language is not displayed, it seems that the automatic language detection has some issues. I will follow up on this. Thank you.

---

<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: [November 17, 2025, 6:14am UTC](https://meta.discourse.org/t/ai/388624/9 "2025-11-17T06:14:29Z")

</div>

> [@EasyChen](#):
>
> automatic language detection has some issues

I don’t think there’s an issue per se, the job takes time to go through all posts. Increasing the backfill rate in settings should make things go faster. From your logs above it looks like only 2 posts every 5 minutes.

---

<div class="post-metadata">

### Author: ![EasyChen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/easychen/32/529777_2.png) [@EasyChen](https://meta.discourse.org/u/EasyChen)
#### Post date: [November 17, 2025, 7:46am UTC](https://meta.discourse.org/t/ai/388624/10 "2025-11-17T07:46:59Z")

</div>

After adjusting the rate, I tested with a new browser and found that it displayed correctly. The original browser could also display multiple languages after I logged out of the admin account and cleared the cookies. Thank you.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [December 17, 2025, 7:47am UTC](https://meta.discourse.org/t/ai/388624/11 "2025-12-17T07:47:43Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
