Language switcher does not show any language

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
hactic
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Tue Apr 15, 2014 9:16 am
Location: 73037 Göppingen, Germany
Contact:

Language switcher does not show any language

Post by hactic » Tue Apr 15, 2014 9:52 am

Hi all,

I am new to Joomla 3.2.2 + HikaShop.

On http://www.adelashoes.com, I have the language switcher in position-7 and configured it to not show a dropdown box but only flags (for German, English, Chinese). But these do not show up.

As a workaround, I have added a pre-text in the language switcher, linking directly to the cn, de, en URL suffixes, and that works -- i. e. the system messages in the search box and at the footer then do appear in the respective language.

I am about to dive into the SQL table that retrieves them; assumedly that is:

SELECT *
FROM eqxfp6s705jos_languages
WHERE published=1
ORDER BY ordering ASC

I have enabled plugins "System - Language Filter" and sometimes "System - Language Code".

In Language Manager, I see this:
Image
Image

I. e. the three languages appear published to me.

best regards

Klaus

User avatar
imanickam
Joomla! Master
Joomla! Master
Posts: 28202
Joined: Wed Aug 13, 2008 2:57 am
Location: Chennai, India

Re: Language switcher does not show any language

Post by imanickam » Tue Apr 15, 2014 1:02 pm

Reviewed the site and noticed that the error "Error 404 Article Not Found" is shown.

Check the following:
- Whether the Default menu item is defined for each of the language used in the site?
- Whether the articles are assigned to appropriate languages


You could also try the following to get clues as to why the flags are not shown.
- Go to the Module Manager
- Filter the modules by Administrator
- Publish the module Multilingual Status
- Once this is done, a link with the text "Multilingual Status" would appear in the status bar
- Click on the text link "Multilingual Status" and a pop-window would show up with various multilingual status
- Attach a copy of this pop-up window in your reply
Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged

hactic
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Tue Apr 15, 2014 9:16 am
Location: 73037 Göppingen, Germany
Contact:

Re: Language switcher does not show any language

Post by hactic » Wed Apr 16, 2014 2:36 pm

Hi @imanickam,

many thanks for your well-structured suggestions.

I had another go and checked both from the administrator and from the database itself.
Menus and languages seem OK to me; below I have screenshots of the most relevant tables.
When I was in doubt, I left on "all" languages rather than a specific one
(hoping for rather too much information than a http code 404).

When going to adelashoes.com/ (front page),
note that the http code 404 does not appear for language de (German);
it does appear for language en (English) and zh (Chinese),
however only for the / (root), index.php, or index.php/en/ or index.php/zh/ pages;
subsequent pages (e. g. the sneakers product page) are OK (http code 200) in any language.

As suggested by you, I found the multilingual module and published it in various positions (including the status bar), however on the frontend I could not find it anywhere. I tried diagnosing via URL parameter &tp=1 (template preview), but it did not visibly occur anywhere where I had specified it. I feel silly about that.

Caching is off. The "welcome" (root, front, featured) articles themselves can be viewed in all languages when e. g. going via "latest posts", i. e. it looks as if the "frontpage dispatching" in my Joomla configuration has a glitch.

Assumption for multi-language is that if I have n languages,then I need (n + 1) boxes,
e. g. 3 languages, then a 4th menu module that I set to show up on no page but that is associated with home (i. e. only one yellow star in administator, not n or (n + 1) stars).

best regards

Klaus

screenshots of wide tables with a few annotations:
menu: http://www.hactic.com/png/20140416-table-menu.png
(I tried replicating the 1 in the home column to the other menus but it did not help)
menu_type: http://www.hactic.com/png/20140416-table-menu_type.png
languages: http://www.hactic.com/png/20140416-table-languages.png
content: http://www.hactic.com/png/20140416-content.png


User avatar
imanickam
Joomla! Master
Joomla! Master
Posts: 28202
Joined: Wed Aug 13, 2008 2:57 am
Location: Chennai, India

Re: Language switcher does not show any language

Post by imanickam » Wed Apr 16, 2014 3:10 pm

The Multilingual Status module is a Administrator module. So, you would not see anything on the front-end.

Following are the instructions provided:
imanickam wrote:You could also try the following to get clues as to why the flags are not shown.
- Go to the Module Manager
- Filter the modules by Administrator
- Publish the module Multilingual Status
- Once this is done, a link with the text "Multilingual Status" would appear in the status bar
- Click on the text link "Multilingual Status" and a pop-window would show up with various multilingual status
- Attach a copy of this pop-up window in your reply
The module would have been published to the module position "status". The link mentioned would be in the back-end. You have to click on the text link "Multilingual Status" in the back-end.

Probably the link http://community.joomla.org/blogs/commu ... odule.html would be of help.

Note: It is better to provide the images of the screenshots from the Joomla! back-end instead of the images of MySQL/phpMyadmin screenshots.
Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged

hactic
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Tue Apr 15, 2014 9:16 am
Location: 73037 Göppingen, Germany
Contact:

Re: Language switcher does not show any language

Post by hactic » Wed Apr 16, 2014 7:12 pm

Thanks, that helped. I was looking on the frontend, not backend.

http://www.hactic.com/png/20140416-language-status.png

"This site is set as a multilingual site. One or more of the Default Home pages for the published Content languages are missing although the Language Filter plugin is enabled OR/AND one or more Language Switcher modules are published "

I. e. the default home pages are not defined for the individual languages.

My language-specific versions of the Main Menu do not carry the respective flags:
http://www.hactic.com/png/20140416-main-menus.png

I do not manage to get the language-specific menus to be tagged in their individual languages -- they simply disappear on creation:
http://www.hactic.com/avi/20140416-menu-all.mp4

I will spend some time on more reading, then try to re-create from scratch.

hactic
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Tue Apr 15, 2014 9:16 am
Location: 73037 Göppingen, Germany
Contact:

Resolved -- Re: Language switcher does not show any language

Post by hactic » Thu Apr 17, 2014 9:07 am

Good grief -- got it resolved. I deleted and re-created one of the three language specific menus and was then able to re-label the home entry as specific (rather than language "all"). Before, I was not allowed to do that as it was assigned to be the default home. Once I moved that constraint away, I could label all specific homes in their respective language. Now the language selection flags appear also. -- Thanks!

User avatar
imanickam
Joomla! Master
Joomla! Master
Posts: 28202
Joined: Wed Aug 13, 2008 2:57 am
Location: Chennai, India

Re: Language switcher does not show any language

Post by imanickam » Thu Apr 17, 2014 9:49 am

Glad to know that you have resolved the issues.

Be known that you could create a dummy multilingual site while installing Joomla! During the install there are options to install languages as well as options to create multilingual site with the languages installed. This feature may come handy in the future.
Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged


Locked

Return to “Language - Joomla! 3.x”