# Install sage9 language files?

**URL:** https://discourse.roots.io/t/install-sage9-language-files/10638
**Category:** sage
**Tags:** sage9
**Created:** 2017-10-11T14:34:34Z
**Posts:** 9
**Showing post:** 6 of 9

## Post 6 by @felly — 2018-02-18T16:23:10Z

Actually you can put your language files anywhere you want - you just need to tell Wordpress about that folder.  
e.g. you can put your language files directly in your theme directory under `resources/lang` and add this action to `setup.php`:

```
add_action( 'after_setup_theme', function () {
  load_theme_textdomain( 'sage', get_template_directory() . '/lang' );
} );
```

---

_[View the full topic](https://discourse.roots.io/t/install-sage9-language-files/10638)._
