# Fallback to English locale doesn't work when English string is blank

**URL:** https://meta.discourse.org/t/fallback-to-english-locale-doesnt-work-when-english-string-is-blank/58157
**Category:** Bug
**Created:** [March 1, 2017, 10:11am UTC](https://meta.discourse.org/t/fallback-to-english-locale-doesnt-work-when-english-string-is-blank/58157 "2017-03-01T10:11:20Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)
#### Post date: [March 1, 2017, 10:11am UTC](https://meta.discourse.org/t/fallback-to-english-locale-doesnt-work-when-english-string-is-blank/58157/1 "2017-03-01T10:11:20Z")

</div>

@zogstrip There’s another regression with the new I18n fallback.

It’s not possible to translate strings in Transifex that are blank in the English locale files. Transifex simply ignores them. Up until now this wasn’t a problem since Discourse always used the blank strings from the English locale files, but that doesn’t seem to work anymore.

For example, `desktop_notifications.currently_enabled` exists only in `client.en.yml` and it is blank.

> <https://github.com/discourse/discourse/blob/main/config/locales/client.en.yml#L565-L568>

That’s how it currently looks with the German locale:  
 ![](https://global.discourse-cdn.com/meta/original/3X/d/a/dab3a9a6485b0d2b1989c21345691043830236b4.png)

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [March 1, 2017, 10:31am UTC](https://meta.discourse.org/t/fallback-to-english-locale-doesnt-work-when-english-string-is-blank/58157/3 "2017-03-01T10:31:19Z")

</div>

It’s now _fixinated_ 🍓

[https://github.com/discourse/discourse/commit/b20b568039ca83334ab0eb5354ec47728b61fded](https://github.com/discourse/discourse/commit/b20b568039ca83334ab0eb5354ec47728b61fded)

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [March 1, 2017, 12:32pm UTC](https://meta.discourse.org/t/fallback-to-english-locale-doesnt-work-when-english-string-is-blank/58157/4 "2017-03-01T12:32:09Z")

</div>

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