Translating welcome topics

AI-generated summary

The discussion revolves around translating welcome topics in Discourse. claas points out that certain topics, including “Assets for the site design,” “Welcome to Discourse,” and “READ ME FIRST: Admin Quick Start Guide,” have hardcoded titles and content, which can’t be translated. claas suggests moving these to I18n and removing the corresponding files to avoid inconsistency.

claas goes on to create pull requests (PRs) for these changes, but notes that moving the “Admin Quick Start Guide” might not be desirable due to its current implementation. Instead, a translatable topic could link to the guide.

Falco welcomes the changes, as long as they don’t cause regressions or add complexity. sam mentions that future plans include migrating to a narrative bot, and codinghorror notes that this migration is at least three months away. zogstrip assures that the bot’s content is localizable.

I mentioned that default categories/topics are always in English even if another interface language is selected and @gerhard pointed out that this content gets created when Discourse is started first.

Now I noticed that some of the generated content in the staff category is not available in Transifex, namely

  1. Assets for the site design
  1. Welcome to Discourse
  1. READ ME FIRST: Admin Quick Start Guide

Any reason not to move this to I18n? Probably we should then remove the files WELCOME-TO-DISCOURSE.md and ADMIN-QUICK-START-GUIDE.md to avoid inconsistency, right?! I would be willing to provide a PR for this.

Also, the title of the Uncategorized category seems hardcoded:

4개의 좋아요

Making more stuff i18n, as well as providing language selection on discourse-setup is always welcome, as long it doesn’t trigger a regression and the complexity isn’t too much.

4개의 좋아요

See this PR:

FIX: Add assets_topic_title to I18n by caugner · Pull Request #4626 · discourse/discourse · GitHub[quote=“claas, post:1, topic:54792”]
Welcome to Discourse

:x: Title is hardcoded.

:x: Content comes from docs.
[/quote]

I’m preparing a PR for this right now (but vagrant box download is slow and keeps failing).

Update: See this PR:

https://github.com/discourse/discourse/pull/4628

As it turns out, moving the Admin Quick Start Guide probably isn’t desirable, because it specifically invites to submit a pull request to improve the guide. In this case, however, it might be better to not create this as a topic itself, but rather create a translatable topic which links to the guide.

5개의 좋아요

Keep in mind, our medium term plan here is to migrate to narrative bot by @tgxworld be sure to look at localization there as well

That is at least 3 months out maybe more.

Also, I’m pretty sure @tgxworld made sure everything the bot says is localizable :wink:

3개의 좋아요