Language switcher not working.

General questions regarding the use of languages in Joomla! 3.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Locked
mgordon
Joomla! Apprentice
Joomla! Apprentice
Posts: 42
Joined: Fri May 25, 2007 10:57 pm

Language switcher not working.

Post by mgordon » Fri Feb 16, 2018 9:09 pm

Joomla version: 3.8.5
No plugins installed, and no templates. SImply using the built in templates that came with Joomla.

I've set up a basic multi lingual Joomla site with four languages, Swedish, Finnish, English and Norwegian. Everything seems to be set up correctly, and if i manually change the link to show the different sites, everything seems to be working OK.

The Language switcher does however not show any flags. If I change the configuration so the language switcher shows a pulldown menu, the menu comes up, but there are no languages to select from in the menu.

In other words I can select language manually, but not by using the language selector, only by changing the prefix in the link.

I turned on the language debug mode, but I don't get any errors. in the consol. There are however two languages installed which are not used on the site. English (GB) and Polish (PL) both can not be removed. Neither are set up to be content languages.

Anyone with any good ideas ??

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30929
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Language switcher not working.

Post by Per Yngve Berg » Fri Feb 16, 2018 9:16 pm

Check the Language Status Administrator Module.

Something is missing the the Multi-Language Setup. The Status Module will show what.
Do you have a Default Menu Item for each Language (shown with a flag in menu manager)?

mgordon
Joomla! Apprentice
Joomla! Apprentice
Posts: 42
Joined: Fri May 25, 2007 10:57 pm

Re: Language switcher not working.

Post by mgordon » Fri Feb 16, 2018 9:53 pm

Thanks for the tip. That wasn't in the guide I was using. Seems to be the solution as I've got the Norwegian and US flag up. Now just to get the Swedish and FInnish ones up.

dsrpmedia
Joomla! Intern
Joomla! Intern
Posts: 95
Joined: Thu Sep 27, 2007 4:53 am

Re: Language switcher not working.

Post by dsrpmedia » Wed Feb 21, 2018 8:25 pm

hi

having the same issue - langauges not appearing in language switcher

in modules/administrator i actually have 2 'Multilanguage status' modules - both are enabled, but there is nothing displayed when I open - where are The Status Module results displayed?

(joomla 3.8.5)

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 19133
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: Language switcher not working.

Post by infograf768 » Thu Feb 22, 2018 7:21 am

First, no use to have 2 instances of this module.
Second see viewtopic.php?f=711&t=958595#p3511885 for the way to use it
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

dsrpmedia
Joomla! Intern
Joomla! Intern
Posts: 95
Joined: Thu Sep 27, 2007 4:53 am

Re: Language switcher not working.

Post by dsrpmedia » Thu Feb 22, 2018 4:55 pm

I didnt purposefully install 2 versions - the site upgrade system did that on it`s own

thanks for the link

dsrpmedia
Joomla! Intern
Joomla! Intern
Posts: 95
Joined: Thu Sep 27, 2007 4:53 am

Re: Language switcher not working.

Post by dsrpmedia » Thu Feb 22, 2018 5:50 pm

it was the deault page per menu language I was missing - thank you!

User avatar
TomT
Joomla! Ace
Joomla! Ace
Posts: 1324
Joined: Thu Aug 18, 2005 5:50 am
Location: Amsterdam
Contact:

Re: Language switcher not working.

Post by TomT » Wed Apr 04, 2018 9:03 am

dsrpmedia wrote:it was the deault page per menu language I was missing - thank you!
Same here :). Problem solved, thanks.

miamiman
Joomla! Intern
Joomla! Intern
Posts: 65
Joined: Thu Jun 28, 2007 1:01 am

Re: Language switcher not working.

Post by miamiman » Fri Aug 24, 2018 3:02 pm

dsrpmedia wrote:
Thu Feb 22, 2018 5:50 pm
it was the deault page per menu language I was missing - thank you!
Sorry, but I'm stuck with this too.

An error appears when I try to associate a default menu with its corresponsing language. The error says that the default menu must be set to ALL languages.

How/where do I set a language per individual default menu?

Thanks,
ConsorcioTec™
Miami, USA
https://www.consorciotec.com

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30929
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Language switcher not working.

Post by Per Yngve Berg » Fri Aug 24, 2018 5:52 pm

When you had a single language site, there is a default menu item marked with a star. You keep this menu item in the menu tagged to all languages. This menu will not be used on the multi language site.

Create a new menu for each language and tag to language.
Create new menu items in the new languages and tag.
Then you can assign one menu item in each language menu as default. It will be marked with a flag.

miamiman
Joomla! Intern
Joomla! Intern
Posts: 65
Joined: Thu Jun 28, 2007 1:01 am

Re: Language switcher not working.

Post by miamiman » Fri Aug 24, 2018 10:37 pm

Thank you Per.... I finally figured it out. You basically have to create a dummy MENU for ALL LANGUAGES that isn't used. Not apparent. But I got it to work.
ConsorcioTec™
Miami, USA
https://www.consorciotec.com


Locked

Return to “Language - Joomla! 3.x”