# 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:** [2월 22, 2019, 10:21오후 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:** 3

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [3월 18, 2020, 11:41오전 UTC](https://meta.discourse.org/t/add-localizable-strings-to-themes-and-theme-components/109867/3 "2020-03-18T11:41:55Z")

</div>

그렇게 할 수 없어요. 해당 기능은 템플릿과 JavaScript에서만 사용할 수 있습니다. 이는 코어/플러그인 번역과 동일한 원리입니다.

이상적으로는 문자열이 템플릿에서 설정되도록 리팩토링하는 것이 좋습니다. 하지만 CSS 파일에서 사용자 정의 가능한 문자열이 정말 필요하다면 테마 설정을 사용할 수 있습니다: [Developing Discourse Themes & Theme Components](https://meta.discourse.org/t/developer-s-guide-to-discourse-themes/93648#heading--4-d)

---

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