mirror of
https://github.com/discourse/discourse.git
synced 2026-08-11 02:59:07 +08:00
The language switcher automatically includes the site's default locale. However, when doing automatic translations, we do not add the site's default locale into the list of languages to translate to. This commit adds the site's default locale and makes sure content gets translated to it by default, without the need to add it to `SiteSetting. content_localization_supported_locales`. This commit also updates the setting description to indicate as such. |
||
|---|---|---|
| .. | ||
| base_translator_spec.rb | ||
| category_candidates_spec.rb | ||
| category_locale_detector_spec.rb | ||
| category_localizer_spec.rb | ||
| content_splitter_spec.rb | ||
| entry_point_spec.rb | ||
| language_detector_spec.rb | ||
| localizable_quota_spec.rb | ||
| post_candidates_spec.rb | ||
| post_detection_text_spec.rb | ||
| post_locale_detector_spec.rb | ||
| post_localizer_spec.rb | ||
| tag_candidates_spec.rb | ||
| tag_locale_detector_spec.rb | ||
| tag_localizer_spec.rb | ||
| topic_candidates_spec.rb | ||
| topic_locale_detector_spec.rb | ||
| topic_localizer_spec.rb | ||
| translation_spec.rb | ||