Staff replied Templates

Language Switcher Joomla 4.1.5

Asked by kbirdy-de 4 years ago Last activity 4 years ago

Hi,
I am using the Travelin Template with Joomla 4.1.5. The website uses 2 languages (German, English) and I have set up the corresponding pages, menues, and associations. The language switcher module is in position Top1. If I am on the English home page and click on the German flag, I get the module settings page instead of the German home page. When hovering over either of the flags, the following text appears "Edit Module language switcher Position:Top1".

Not sure what I have done incorrectly!

Thanks for any help with this problem.

6 replies

kbirdy-de Asked this

When I turn back on the title, the links work correctly. But as soon as I try and hide the title, the switcher does not work.

kbirdy-de Asked this

Hi,

Yes, I read that along with many other step by step guides. I did have to install the German language pack manually since I am using Joomla 4.1.5 and the install pack is for 4.2. The multilingual status is showing green check marks so I am assuming the languages are installed and set up correctly.

Below is the code. The problem seems to be at the beginning but I do not know why the section between the **** is showing up.

<div id="sp-top1" class="col-lg-6">
<div class="sp-column text-center text-lg-start">

                                            ****<div class="sp-module  jmoddiv" data-jmodediturl="https://www.unitedmotel.com/WerksOhneGF/index.php?option=com_config&amp;view=modules&amp;id=141&amp;Itemid=500&amp;return=aHR0cHM6Ly93d3cudW5pdGVkbW90ZWwuY29tL1dlcmtzT2huZUdGL2luZGV4LnBocC9kZS8%3D" data-target="_self" data-jmodtip="<strong>Modul bearbeiten</strong><br>Language Switcher<br />Position: top1">****<div class="sp-module-content"><div class="mod-languages">

<ul class="lang-inline">
                    <li class="lang-active" dir="ltr">
        <a href="/WerksOhneGF/index.php/de/">
                                            <img title="Deutsch (Deutschland)" src="/WerksOhneGF/media/mod_languages/images/de_de.gif" alt="Deutsch (Deutschland)">                                     </a>
        </li>
                            <li dir="ltr">
        <a href="/WerksOhneGF/index.php/en/?Itemid=518">
                                            <img title="English (United Kingdom)" src="/WerksOhneGF/media/mod_languages/images/en_gb.gif" alt="English (United Kingdom)">                                       </a>
        </li>
            </ul>

</div>
</div></div>
</div>
</div>

And this is the text on the page that pops up when I click on one of the flags.

Moduleinstellungen

Modulname Language Switcher Modultyp mod_languages
TITEL *
Language Switcher
TITEL ANZEIGEN
Titel anzeigen
VERBERGENANZEIGEN
POSITION
top1Remove item
STATUS

Veröffentlicht
VERÖFFENTLICHUNG STARTEN
VERÖFFENTLICHUNG BEENDEN
ZUGRIFFSEBENE

Public
REIHENFOLGE

Toufiq Senior Staff

Will you please check & let me know. Thanks

kbirdy-de Asked this

The issue resolved itself with the update to 4.2.1 today! This also allowed me to install the German 4.2 language pack.

Log in to reply.