# Translations not working

**URL:** https://discourse.roots.io/t/translations-not-working/26398
**Category:** radicle
**Tags:** localization
**Created:** 2023-12-07T16:56:27Z
**Posts:** 7
**Showing post:** 4 of 7

## Post 4 by @ben — 2023-12-08T15:24:57Z

You’re right, that’s my bad — it would be `resource_path('languages/')`

FWIW, the translate scripts that ship with Radicle are configured for the `resources/lang/` directory

I went to test locally with translations for European Spanish (`es_ES`) and followed these steps:

1. Run `yarn translate:pot`
2. Generate `es_ES.mo` and `es_ES.po` files from `radicle.pot` in `resources/lang/`
3. Set WordPress language to Spanish
4. Added to a `mu-plugin` called `localization.php`:
```
<?php

add_action('after_setup_theme', function () {
    load_theme_textdomain('radicle', resource_path('lang/'));
});
```
5. Translations working as expected :white_check_mark:

---

_[View the full topic](https://discourse.roots.io/t/translations-not-working/26398)._
