# Theme .ini Global Namespace

**URL:** <https://forum.shopware.com/t/theme-ini-global-namespace/47373>\
**Category:** Themes & Design\
**Created:** [7. August 2017 um 15:27 UTC](https://forum.shopware.com/t/theme-ini-global-namespace/47373 "2017-08-07T15:27:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![\_Sebastian](https://avatars.discourse-cdn.com/v4/letter/_/f6c823/32.png) [@\_Sebastian](https://forum.shopware.com/u/_Sebastian)\
**Post date:** [7. August 2017 um 15:27 UTC](https://forum.shopware.com/t/theme-ini-global-namespace/47373/1 "2017-08-07T15:27:10Z")

</div>

Hi,

ist es möglich in den Theme .ini Dateien Übersetzungen aus den Shopware Standard zu überschreiben?

unter&nbsp;[https://developers.shopware.com/designers-guide/snippets/&nbsp](https://developers.shopware.com/designers-guide/snippets/&nbsp);

> The namespace can either be set for the whole file (affecting the namespaces of all snippets, which will possibly break the default Shopware snippets) or can be set manually for each snippet tag

kann man auch für die jeweiligen .ini Files im Theme einen Namespace außerhalb vom theme// angeben? Wenn nicht, wie löst ihr es wenn ihr Texte aus dem Standard mit dem theme übersetzen möchtet.

---

<div class="post-metadata">

**Author:** ![StefanSch](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/stefansch/32/8550_2.png) [@StefanSch](https://forum.shopware.com/u/StefanSch)\
**Post date:** [23. Juni 2021 um 16:20 UTC](https://forum.shopware.com/t/theme-ini-global-namespace/47373/2 "2021-06-23T16:20:07Z")

</div>

Alter Thread, aber weil ich keine entsprechende Antwort gefunden habe und die Lösung selbst herausfinden musste, hier trotzdem die Antwort für die Nachwelt 😉

1. Das Theme muss als Plugin verpackt werden, hierzu folgender Link zur Dokumentation: [Preparing themes for the Community Store](https://developers.shopware.com/designers-guide/preparing-themes-for-the-community-store/)

2. Snippet .ini Dateien und config laut Doku anlegen [Shopware 5 snippet management](https://developers.shopware.com/designers-guide/snippets/#developing-with-snippets)

3. Die Ordnerstruktur inneralb `Resources/snippets/` ergibt den Namespace unter denen die Textbausteine abgelegt werden. D. h. wenn man z. B. das Snippet für `IndexCopyright` überschreiben will, muss die `footer.ini` in folgendem Verzeichnis liegen: `MyPlugin/Resources/snippets/frontend/index/`  
Für Snippets, die unter einem eigenen Namespace abgelegt werden sollen wäre der Pfad dann z. B. `MyPlugin/Resources/snippets/themes/mypluginthemecustomnamespace/customsnippet/dummy.ini`

(oben genannte Möglichkeit wurde mit 5.7.1 getestet)
