Ik probeer automatische contentlokalisatie (AI-vertaling backfill) in te schakelen op mijn zelf-gehoste Discourse-instantie en heb alle beschikbare richtlijnen gevolgd, maar ik zie geen vertalingen verschijnen.
Dit is wat ik tot nu toe heb gedaan:
content localization enabled ingeschakeld
Minstens één taal geselecteerd in content localization supported locales
ai translation enabled ingeschakeld
Een werkend ai translation model gekozen (test is succesvol)
ai_translation_backfill_hourly_rate ingesteld op een getal groter dan 0 (met de omgevingsvariabele methode in app.yml)
ai translation max age days ingesteld op een grote waarde
Na het opslaan en herbouwen heb ik onderwerpen geplaatst in een andere taal dan mijn gebruikersvoorkeurstaal, maar niets wordt vertaald. Ik zie geen enkel bewijs dat vertaaltaken worden uitgevoerd (geprobeerd Sidekiq scheduled/queues te controleren), en de inhoud voor gebruikers blijft onvertaald.
Is er nog iets anders dat ik moet controleren, of een manier om beter te diagnosticeren waarom de vertaal backfill niet wordt geactiveerd?
Wat is uw ai_translation_backfill_hourly_rate – kunt u beginnen met 20? Het zou helpen als u alle waarden zou kunnen delen.
Zijn al uw berichten openbaar en niet in beperkte categorieën? Als ai_translation_backfill_limit_to_public_content is uitgeschakeld, worden er geen berichten vertaald.
SiteSetting.ai_translation_verbose_logs=true toont enkele details wanneer het succesvol is.
Als alternatief, als u een data-explorer heeft, kunt u het volgende proberen om te zien
of er LLM-aanroepen zijn om te vertalen
of post-locales worden gedetecteerd, maar de berichten niet worden vertaald
SELECT COUNT(*)
FROM ai_api_audit_logs
WHERE feature_name = 'translation'
SELECT COUNT(*)
FROM posts
WHERE (locale IS NOT NULL AND locale <> '')
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?
Ik heb een vergelijkbaar probleem nadat ik alle dezelfde wijzigingen heb aangebracht in mijn gehoste instantie. In dit geval gebruik ik openai 4o. Het lijkt slechts de laatste 3 of 4 berichten te vertalen en niets verder. Ik heb nog steeds voldoende tegoed beschikbaar op mijn API-sleutel.
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.
Op dit moment is GPT-5 zo traag dat het gebruik ervan gericht moet zijn op verschillende soorten dingen. Maar zeker, dat is een kwestie van smaak en het hangt ervan af.
Maar ik gebruik Chat GPT/GPT-5 af en toe in het Fins. Eerder waren 4x-series eigenlijk best goed met een kleine en moeilijke taal zoals het Fins. Nu… ik zou het nooit gebruiken voor vertalingen. Misschien evolueren GPT-5 en volgende generaties en doen ze in de toekomst beter werk en misschien is het al vlekkeloos tussen grote talen.
Maar zeker, dat was totaal off-topic, maar misschien mag het deze ene keer. Je hebt tenslotte de nodige oplossing gevonden. Maar mijn vage punt is dat dit onderwerp nooit geboren had mogen worden, omdat, op dit moment en naar mijn ervaringen, niemand GPT-5 in de eerste plaats zou moeten gebruiken voor vertalingen.
As mentioned by @GrahamMai_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
Run this query in discourse-data explorer if you have it:
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
open a post is a backfill candidate, is the locale detected?
I’ve made sure that AI translation is enabled, backfills days (10 per hour) and limits (10000 days) are all set. I’ve added Spanish translations but it still says that backfill is disabled and I don’t see any jobs in sidekiq. Do I need to rebuild? I didn’t a rebuild 3 days ago. Most posts are public to read.
We’ve most recently unhidden the setting ai_translation_backfill_hourly_rate in this PR.
That setting defaults to 0, and was originally hidden so that only hosters (who know what they’re doing) can set that value. You’ll need to update that to a value like 100.
Yes I saw that and changed it from 0 to 10 (see the screenshots above) and it’s still saying that backfill is disabled with no scheduled jobs. Is there some way to kick start it or is something else required?
The whole site in general, want to use users options to see posts in different languages. Not bot or private, 1000’s of public posts.
Now this is very weird, when I see the dashboard now (19 hours later), I see this. It’s saying backfill is disabled but seems to have started doing some posts but it’s saying only 11 posts; is that how many are done or is that the total number it’s targeting or are those new posts?