# Sprachwechsel ohne Shopware-Dropdown

**URL:** <https://forum.shopware.com/t/sprachwechsel-ohne-shopware-dropdown/43127>\
**Category:** Themes & Design\
**Created:** [26. Januar 2017 um 00:04 UTC](https://forum.shopware.com/t/sprachwechsel-ohne-shopware-dropdown/43127 "2017-01-26T00:04:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![brettvormkopp](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/brettvormkopp/32/7788_2.png) [@brettvormkopp](https://forum.shopware.com/u/brettvormkopp)\
**Post date:** [26. Januar 2017 um 00:04 UTC](https://forum.shopware.com/t/sprachwechsel-ohne-shopware-dropdown/43127/1 "2017-01-26T00:04:37Z")

</div>

Moin, nachdem @shopware‍ ein Update gemacht hat funktioniert der Sprachwechsel nicht mehr alleinig&nbsp;über das Cookie und einem einfachen reload.&nbsp;In&nbsp;vorherigen Versionen hatte ich dazu einfach den Cookie Namens “shop” überschrieben und die Seite &nbsp;neu geladen mit location.reload(). Der&nbsp;Shop&nbsp;wurde&nbsp;dann in der &nbsp;richtigen Sprache angezeigt, die URL änderte sich ebenfalls wie von Zauiberhand. Die neuartige “Technik” kann ich nur vermuten, denn Shopware hats ja nicht so mit Dokumentationen. Die Vermutung ist, dass hier das anderssprachige Template mit Ajax geladen wird und die URL dann mittels Pushstate umgeschrieben wird?&nbsp;Die Frage ist, wie kann ich diesen Event(s) auslösen ohne dass ich dieses Sprach-Dropdown&nbsp;Menu nehmen muss? ich benötige dringend einzelne Flaggen nebeneinander.&nbsp;Ich bekomme Aggression, wo ist die Doku? \>\>&nbsp;[@Stephan Pohl]([http://forum.shopware.com/profile/2/Stephan](http://forum.shopware.com/profile/2/Stephan) Pohl “Stephan Pohl”)‍ \<\<

Danke und Gruss

---

<div class="post-metadata">

**Author:** ![gwdgensert](https://avatars.discourse-cdn.com/v4/letter/g/e9a140/32.png) [@gwdgensert](https://forum.shopware.com/u/gwdgensert)\
**Post date:** [14. März 2017 um 10:30 UTC](https://forum.shopware.com/t/sprachwechsel-ohne-shopware-dropdown/43127/2 "2017-03-14T10:30:28Z")

</div>

Ich habe das gefunden und etwas modifiziert:

> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {foreach from=$languages item=language}  
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -  
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;
> 
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;
> 
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {/foreach}  
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
