This has been fixed with
- FIX: Update topic excerpts when the first post is localized by nattsw · Pull Request #36885 · discourse/discourse · GitHub
- and also DEV: Add rake task to backfill localization excerpts which were empty by nattsw · Pull Request #36901 · discourse/discourse · GitHub
This should also be fixed ![]()
One thing to note though for self-hosters with missing localized excerpts: you will need to update, then run the following rake task [1] in your console
bundle exec rake topic_localizations:backfill_excerpts
## or possibly with sudo
sudo -E -u discourse bundle exec rake topic_localizations:backfill_excerpts
so that the empty localized excerpts may be populated.
Alternatively if the rake task is not possible, a more manual way is to re-translate the first post of topics that are affected.
Some might ask - “Why not a migration which is automatic?”, because we use
PrettyTexthere for the excerpts, and as usual we do try to avoid application code in migrations. ↩︎
