mirror of
https://ghfast.top/https://github.com/discourse/discourse-translator.git
synced 2026-07-16 11:46:33 +08:00
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) ``` |
||
|---|---|---|
| .. | ||
| automatic_translation_backfill_spec.rb | ||
| detect_translatable_language_spec.rb | ||
| translate_categories_spec.rb | ||
| translate_translatable_spec.rb | ||