# Add localizable strings to themes and theme components

**URL:** https://meta.discourse.org/t/add-localizable-strings-to-themes-and-theme-components/109867
**Category:** Developer Guides
**Tags:** how-to, theme-guides
**Created:** [February 22, 2019, 10:21pm UTC](https://meta.discourse.org/t/add-localizable-strings-to-themes-and-theme-components/109867 "2019-02-22T22:21:45Z")
**Posts on this page:** 1
**Showing post:** 11

<div class="post-metadata">

### Author: ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)
#### Post date: [July 16, 2022, 2:32pm UTC](https://meta.discourse.org/t/add-localizable-strings-to-themes-and-theme-components/109867/11 "2022-07-16T14:32:26Z")

</div>

Hello,

The problem is, the `data-template-name` should be unique name. [Developing Discourse Themes & Theme Components](https://meta.discourse.org/t/developer-s-guide-to-discourse-themes/93648#modifying-discourse-templates-22). Like this: `data-template-name="/connectors/PLUGIN-OUTLET-NAME/UNIQUE-NAME"` Now you use the `sidebar` name in your example which is I think override Fakebook sidebar template.

For example this should work 🙂

```xml
<script type="text/x-handlebars" data-template-name="/connectors/discovery-below/downloadlink">
  <div class="top-navbar">
    <span class="j_menu_item" ><a href="https://www.example.com/download">{{i18n (theme-prefix "top-navbar.download")}}</a></span>     
  </div>
</script>

```

---

_[View the full topic](https://meta.discourse.org/t/add-localizable-strings-to-themes-and-theme-components/109867)._
