# Discobot falling back to site locale is not using customized copies

**URL:** https://meta.discourse.org/t/discobot-falling-back-to-site-locale-is-not-using-customized-copies/65140
**Category:** Bug
**Tags:** multi-lingual
**Created:** [June 26, 2017, 6:52pm UTC](https://meta.discourse.org/t/discobot-falling-back-to-site-locale-is-not-using-customized-copies/65140 "2017-06-26T18:52:43Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![tophee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tophee/32/73406_2.png) [@tophee](https://meta.discourse.org/u/tophee)
#### Post date: [June 26, 2017, 6:52pm UTC](https://meta.discourse.org/t/discobot-falling-back-to-site-locale-is-not-using-customized-copies/65140/1 "2017-06-26T18:52:43Z")

</div>

I just realized that if a discobot tutorial is not available in a user’s locale, the bot uses the dafault copies of the site locale instead of the customized copies (of the site locale).

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [June 27, 2017, 12:27am UTC](https://meta.discourse.org/t/discobot-falling-back-to-site-locale-is-not-using-customized-copies/65140/2 "2017-06-27T00:27:21Z")

</div>

We will need more information in this bug report in order to figure out what might be wrong. Can you provide us with the steps to reproduce the bug as well? Is it limited to just the Discobot tutorial or does it affect all the translations as well?

---

<div class="post-metadata">

### Author: ![tophee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tophee/32/73406_2.png) [@tophee](https://meta.discourse.org/u/tophee)
#### Post date: [June 27, 2017, 5:46am UTC](https://meta.discourse.org/t/discobot-falling-back-to-site-locale-is-not-using-customized-copies/65140/3 "2017-06-27T05:46:14Z")

</div>

Repro:

1. Make sure the bot is turned on to start new user tutorial for every user and customize the bot’s first message in some obvious way.
2. Change your user locale to `sv` (for which the bot hasn’t been translated yet).
3. Write a message to the bot to `start new user`
4. The bot will respond in English (if your site locale is `en`, I have not tried this with other site locales).
5. Check the content of the bot’s first message. It will be the default “🤖 Greetings” message, not the customized one you created in step 1.

Expected behaviour: Once a copy has been customized, the default copy will never be used until the copy has been reset to default.

It is possible that my repro is just a specific case of a more general bug that allows default copies to be used when they shouldn’t be, but I have not tested any other scenarios yet.

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [July 3, 2017, 5:55am UTC](https://meta.discourse.org/t/discobot-falling-back-to-site-locale-is-not-using-customized-copies/65140/5 "2017-07-03T05:55:37Z")

</div>

Thank you for the reproduction steps 👍

PR in

[https://github.com/discourse/discourse/pull/4948/files](https://github.com/discourse/discourse/pull/4948/files)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [July 5, 2017, 1:00am UTC](https://meta.discourse.org/t/discobot-falling-back-to-site-locale-is-not-using-customized-copies/65140/6 "2017-07-05T01:00:08Z")

</div>

This topic was automatically closed after 41 hours. New replies are no longer allowed.
