# Overwrite Translations in Plugin

**URL:** <https://discourse.getcockpit.com/t/overwrite-translations-in-plugin/1990>\
**Category:** Addons\
**Created:** [July 6, 2021, 10:00am UTC](https://discourse.getcockpit.com/t/overwrite-translations-in-plugin/1990 "2021-07-06T10:00:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hackbard](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/hackbard/32/854_2.png) [@Hackbard](https://discourse.getcockpit.com/u/Hackbard)\
**Post date:** [July 6, 2021, 10:00am UTC](https://discourse.getcockpit.com/t/overwrite-translations-in-plugin/1990/1 "2021-07-06T10:00:32Z")

</div>

Hi there,

i’m using some Plugins like:

- [GitHub - pauloamgomes/CockpitCMS-Moderation: Moderation Addon for Cockpit CMS](https://github.com/pauloamgomes/CockpitCMS-Moderation)

How can i add a german translation? Did i have to make a change Request for the Plugin or can i make an extra translation file for everything?

---

<div class="post-metadata">

**Author:** ![abernh](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/abernh/32/859_2.png) [@abernh](https://discourse.getcockpit.com/u/abernh)\
**Post date:** [July 6, 2021, 6:31pm UTC](https://discourse.getcockpit.com/t/overwrite-translations-in-plugin/1990/2 "2021-07-06T18:31:03Z")

</div>

This seems to depend on your plugin of joice. If the plugin author used the i18n methods

- in template: `lang($stringName)`
- in backend: `$app("i18n")->get($stringName)`

then you should be fine by extending [the backends language file](https://getcockpit.com/documentation/reference/language) in your `/config/cockpit/i18n` directory.

Otherwise you’ll have to update the plugin, replacing all strings using the i18n methods and THEN you can extend your language file 🙂

Regarding the mentioned plugin, it seems to support the i18n module.

---

<div class="post-metadata">

**Author:** ![Hackbard](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/hackbard/32/854_2.png) [@Hackbard](https://discourse.getcockpit.com/u/Hackbard)\
**Post date:** [July 6, 2021, 6:42pm UTC](https://discourse.getcockpit.com/t/overwrite-translations-in-plugin/1990/3 "2021-07-06T18:42:44Z")

</div>

Nice, thanks that you answer in Generell and in special of this plugin. ✌
