# Translations for Terms of Service, Privacy

**URL:** https://meta.discourse.org/t/translations-for-terms-of-service-privacy/108203
**Category:** Translations
**Created:** [2 בפברואר,‏ 2019,‏ 10:34am UTC](https://meta.discourse.org/t/translations-for-terms-of-service-privacy/108203 "2019-02-02T10:34:56Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Lure](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lure/32/130462_2.png) [@Lure](https://meta.discourse.org/u/Lure)
#### Post date: [2 בפברואר,‏ 2019,‏ 10:34am UTC](https://meta.discourse.org/t/translations-for-terms-of-service-privacy/108203/1 "2019-02-02T10:34:56Z")

</div>

Default about page is properly translated:

 ![45](https://global.discourse-cdn.com/meta/original/3X/4/c/4c8641fbc5c56e80e58919f9ab5f40ef8d431634.png)

However, when I switch to FAQ/Guidelines, TOS or Privacy tabs, header get back to English:

 ![29](https://global.discourse-cdn.com/meta/original/3X/7/9/796ce75f539c74fec0675063252a8c4275624ace.png)

I suspect, that this is potentially caused by bootstrap that was done in English - I only found out later, that [you can change locale for bootstrap](https://meta.discourse.org/t/initial-locale-setting-now-available/25034). Is there a way to change this after bootstrap?

---

<div class="post-metadata">

### Author: ![Lure](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lure/32/130462_2.png) [@Lure](https://meta.discourse.org/u/Lure)
#### Post date: [2 בפברואר,‏ 2019,‏ 5:29pm UTC](https://meta.discourse.org/t/translations-for-terms-of-service-privacy/108203/2 "2019-02-02T17:29:34Z")

</div>

Have now tested with I18n.enableVerboseLocalizationSession():  
it confirms that first screenshot from above is filled from translation keys (therefore translated), while the second screenshot have hardcoded English value and no keys are added by verbose translations… 🤨

---

<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: [2 בפברואר,‏ 2019,‏ 7:31pm UTC](https://meta.discourse.org/t/translations-for-terms-of-service-privacy/108203/3 "2019-02-02T19:31:31Z")

</div>

No, it’s not hardcoded. It uses different locale keys depending on how you access the page. I already have a fix for it, but didn’t want to commit it before the release of 2.2.

---

<div class="post-metadata">

### Author: ![Lure](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lure/32/130462_2.png) [@Lure](https://meta.discourse.org/u/Lure)
#### Post date: [8 בפברואר,‏ 2019,‏ 10:56am UTC](https://meta.discourse.org/t/translations-for-terms-of-service-privacy/108203/5 "2019-02-08T10:56:26Z")

</div>

I can confirm this is now fixed in 2.3.0.beta2. Thanks a lot!

---

<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: [8 בפברואר,‏ 2019,‏ 11:11am UTC](https://meta.discourse.org/t/translations-for-terms-of-service-privacy/108203/6 "2019-02-08T11:11:57Z")

</div>

Are you sure? I didn’t change anything yet. 😉  
Maybe you only noticed a missing translation, but there’s still something I need to fix. 🙂

---

<div class="post-metadata">

### Author: ![Lure](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lure/32/130462_2.png) [@Lure](https://meta.discourse.org/u/Lure)
#### Post date: [8 בפברואר,‏ 2019,‏ 11:16am UTC](https://meta.discourse.org/t/translations-for-terms-of-service-privacy/108203/7 "2019-02-08T11:16:54Z")

</div>

> [@gerhard](#):
>
> Are you sure? I didn’t change anything yet. 😉

Sure. Then it may be due to `app.yml` change I did last time (but did not rebuild app since then):

> LANG: sl\_SI.UTF-8  
> DISCOURSE\_DEFAULT\_LOCALE: sl

If I understand your previous post, it gets default from here, right?

---

<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: [22 במאי,‏ 2019,‏ 2:19pm UTC](https://meta.discourse.org/t/translations-for-terms-of-service-privacy/108203/8 "2019-05-22T14:19:16Z")

</div>

This is done. From now on server and client will use the same translations.

> **[Remove duplicate translations · discourse/discourse@58f72cd](https://github.com/discourse/discourse/commit/58f72cd439000c99bec03cd6a40099624255056)**
>
> A platform for community discussion. Free, open, simple. - Remove duplicate translations · discourse/discourse@58f72cd

And I did some house cleaning because I noticed we had some unused translations for “Terms of Service”.

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

---

<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: [22 במאי,‏ 2019,‏ 2:19pm UTC](https://meta.discourse.org/t/translations-for-terms-of-service-privacy/108203/9 "2019-05-22T14:19:26Z")

</div>


