discourse-translator/spec/jobs
Natalie Tay 926197c7c7
FEATURE: Translate categories with selected provider (#282)
This feature introduces the ability to translate categories on core's CategoryLocalization from https://github.com/discourse/discourse/pull/32380. This includes 

- the addition of a generic `Translator.translate` which takes in supported models
- a `CategoryTranslator` specific to categories, which uses the basic text translator introduced in https://github.com/discourse/discourse-translator/pull/281
- a 12-hourly scheduled job that invokes a regular job.

Anyone can manually translate all categories using

```
Jobs.enqueue(:translate_categories)
```
2025-04-24 10:39:18 +08:00
..
automatic_translation_backfill_spec.rb DEV: Move providers into their own module (#279) 2025-04-22 13:10:18 +08:00
detect_translatable_language_spec.rb DEV: Cleanup terms (#232) 2025-02-27 17:40:56 +08:00
translate_categories_spec.rb FEATURE: Translate categories with selected provider (#282) 2025-04-24 10:39:18 +08:00
translate_translatable_spec.rb DEV: Move providers into their own module (#279) 2025-04-22 13:10:18 +08:00