모든 설정을 완료했는데도 AI 번역 백필이 작동하지 않습니다

I’m trying to enable automatic content localization (AI translation backfill) on my self-hosted Discourse instance and I’ve followed all the available guidelines, but I’m not seeing any translations appear.

Here’s what I’ve done so far:

  • Enabled content localization enabled
  • Selected at least one language in content localization supported locales
  • Enabled ai translation enabled
  • Chosen a working ai translation model (test is successful)
  • Set ai_translation_backfill_hourly_rate to a number greater than 0 (using the environment variable method in app.yml)
  • Set ai translation max age days to a large value

After saving and rebuilding, I posted topics in a different language than my user language preference, but nothing gets translated. I don’t see any evidence of translation jobs running (tried checking Sidekiq scheduled/queues), and the user-facing content remains untranslated.

Is there anything else I should check, or any way to better diagnose why the translation backfill is not triggering?

What is your ai_translation_backfill_hourly_rate – can you try 20 to begin with? It would help if you could share all the values.

Are all your posts public and not in restricted categories? If ai_translation_backfill_limit_to_public_content is disabled, you won’t have any posts translated.

SiteSetting.ai_translation_verbose_logs=true will show some details when it’s successful.

Alternatively if you have data explorer, you can try the following to see

  • if there are any LLM calls to translate
  • or if post locales are getting detected but the posts are not translated
SELECT COUNT(*)
FROM ai_api_audit_logs
WHERE feature_name = 'translation'
SELECT COUNT(*)
FROM posts
WHERE (locale IS NOT NULL AND locale <> '')

Thank you for your reply!

  • My DISCOURSE_AI_TRANSLATION_BACKFILL_HOURLY_RATE is set to 30.
  • ai_translation_backfill_limit_to_public_content is enabled.
  • All of my posts are public and not in any restricted categories.

Were these the jobs you were looking for?


Please also do check the queries mentioned above.

Thank you for your suggestion!

Yes, I can see these jobs in Sidekiq under /sidekiq/scheduler:

  • Jobs::PostLocalizationBackfill
  • Jobs::TopicLocalizationBackfill
  • Jobs::TopicsLocaleDetectionBackfill

They all appear with status “OK” and have recently run.

I also noticed that the topic titles are being translated correctly, but the post content itself is not translated yet.
Should I simply wait longer for the content to be processed, or is there another setting that I need to check for post content translation?

I have the a similar problem after making all the same changes in my hosted instance. In this case I’m using openai 4o. It seems to translate only the past 3 or 4 posts and nothing further. I still have plenty of credit available on my api key.

What is your ai translation max age days at ?
After adjusting that, it can take a while to take effect.

  1. Its been around 24h

Hello,

I think I’m running into the same issue. I’ve followed all the steps in the guide (https://meta.discourse.org/t/content-localization-manual-and-automatic-with-discourse-ai/370969), including setting AI_translation_backfill_hourly_rate = 50.

I’ve tested with all available OpenAI models (tests were successful), and I also ran a rebake.

Unfortunately, the AI plugin still refuses to perform automatic translations.

Has anyone an idea what could be wrong?

I’d be very grateful for any help, as I’m really looking forward to this feature.

Version: 3.6.0.beta1-dev

Regards

Graham

Where I’m at currently. I ran the test with the API key it’s fine. Like I said, translated like 3-4 pots then no others, also new posts are being added and no translations on those.

@joo : me and @tyronejv are using OpenAI. Is that also the case for you?
Maybe the issue is related to their API connection.

@tyronejv I’m using very similar settings like you. The API key test works fine, but translations still don’t run.

  • anything in /logs ?

  • try to go to /sidekiq/scheduler and manually trigger all jobs that contain “LocalizationBackfill” and “LocaleDetectionBackfill”

Solved!

  1. Do not use GPT-5 unless you have not verified your organisation in OpenAi-Organization settings
  2. insert your organisation Id (https://platform.openai.com/settings/organization/general) in discourse ai settings
  3. disable temperature settings in discourse ai llm settings

At the moment GPT-5 is so slow that its use shound be targeted to different type things. But sure, that is matter of taste and it depends.

But I’m using Chat GPT/GPT-5 in Finnish every now and then. Earlier 4x-series where actually quite good with a small and hard language such Finnish. Now… I would never use it for translations. Perhaps GPT-5 and next generations evolve and do better job in the future and perhaps it is already spotless between major languages.

But sure, that was totally off topic, but perhaps it can be allowed this one time. You did find needed solution after all. But my vague point is this topic should never born, because , at the moment and by my experiences, no one should never use GPT-5 for translations in the first place.

Thanks for the screenshots.

As mentioned by @GrahamM ai_translation_backfill_hourly_rate needs to be set by your site admin as it is a hidden setting.


Other than what’s mentioned in the FAQ, could you folks check -

  • Check the graph at https://your-site.com/admin/plugins/discourse-ai/ai-translations. How many eligible posts are there? If it doesn’t show up, you’ll need to update
    • e.g.
SELECT 
  a.id,
  a.created_at,
  a.raw_request_payload,
  a.raw_response_payload,
  a.post_id
FROM ai_api_audit_logs a
WHERE a.created_at > '2025-09-01'
AND a.feature_name = 'translation'
ORDER BY a.created_at DESC
LIMIT 100

AI 번역이 활성화되어 있는지, 백필일수(시간당 10개)와 한도(10000일)가 모두 설정되어 있는지 확인했습니다. 스페인어 번역을 추가했지만 여전히 백필이 비활성화되어 있다고 표시되고 sidekiq에서 작업을 볼 수 없습니다. 다시 빌드(rebuild)해야 하나요? 3일 전에 빌드를 한 적이 없습니다. 대부분의 게시글은 공개되어 있습니다.




무엇을 놓치고 있나요?

최근 이 PR에서 ai_translation_backfill_hourly_rate 설정의 숨김 처리를 해제했습니다.

해당 설정의 기본값은 0이며, 원래는 호스터(자신이 무엇을 하는지 아는 사람들)만 해당 값을 설정할 수 있도록 숨겨져 있었습니다. 이를 100과 같은 값으로 업데이트해야 합니다.

네, 그 부분을 보고 0에서 10으로 변경했습니다(위 스크린샷 참조). 그런데도 여전히 백필이 비활성화되어 있고 예약된 작업이 없다고 표시됩니다. 시작을 유도할 수 있는 방법이 있거나, 다른 설정이 필요한 건가요?

100으로 시도해 보았지만 여전히 문제가 해결되지 않았습니다.

어떤 게시물을 번역하려고 하시나요? 봇 게시물(사용자 ID가 0 이하인 사용자)은 번역에 제출되지 않습니다.

게시물이 비공개 카테고리에 있나요?

사이트 전체적으로, 사용자 옵션을 활용하여 다른 언어로 된 게시글을 확인하고 싶습니다. 봇이나 개인 계정이 아니라, 수천 개의 공개 게시글이 있습니다.

이제 막 대시보드를 확인했는데(19시간 후), 이런 상태입니다. 백필이 비활성화되어 있다고 표시되어 있지만, 일부 게시글에 대해서는 작업이 시작된 것처럼 보입니다. 그런데 게시글 수가 11개라고 나와 있네요. 이 숫자는 완료된 게시글 수인가요, 아니면 백필 대상인 총 게시글 수인가요, 아니면 새로 생성된 게시글 수인가요?

다시 한번 말씀드리지만, 예약된 작업 목록에서 백필 작업을 찾을 수 없습니다.