Feature request: Limit topic translation to specific categories

Hey guys

our use case: We are German forum, but we have EN-speaking advertising clients. Hence it would be great to be able to limit topic localizations to specific categories only.

5 Likes

Little bump here if there is maybe any workaround?

2 Likes

Hmm I think this has been requested a few times across various places, let me have a look.

3 Likes

Adding this here for now:

Give us a day or two to merge this.

5 Likes

A follow-up on this feature. We made a technical change recently

Following that change, the ability to limit topic translation to specific categories is still present. But unlike the initial implementation, now Discourse defaults to translating all content and an ai_translation_excluded_categories site setting is available to do just that, exclude categories from translation.

Existing communities should have been migrated automatically to this system. Let us know if you run into any issues.

4 Likes

Makes sense for forums that want most things translated. I want to float the inverse case as an RFC and gauge how common it actually is:

I’d like to translate only one busy multilingual category (e.g. ā€œInternationalā€) and leave the rest of the forum alone. With exclude-only that means listing every other category, and every new category I add later gets translated by default until I remember to exclude it :slight_smile: an easy way to pay for translations I never wanted. An opt-in ai_translation_target_categories (include wins if set, else translate-all-minus-excludes) would fit this cleanly and is safer for cost control.

How common is this scenario for others? Do you want translation forum-wide, or scoped to a single international/off-topic category? Trying to gauge whether an allow-list is worth bringing back or if my setup is the niche one :smiley: .. :pray:

2 Likes

Appreciate the question. I am curious to see as well if this is a common use case.

My gut feeling is that most communities benefit immensely from translating all public content. Users in other languages (often, non-English speakers) will see all content in their language, it’s a much nicer experience. There is a cost, of course, but it’s not very high. On our hosting, it’s free for most communities.

3 Likes

James May's Great News on Top Gear Dacia

I’ve made a change here where we can have our cake and eat it (pending merge)

This new setting type allows us to select certain scopes of categories, like ā€œallā€ or ā€œpublicā€, or make a inclusion/exclusion selection.

3 Likes

This is now merged. It works like this (same video as in PR):

2 Likes

Excellent! Thank you!