Home flag in content languages is set to NO and cannot be set back to YES Topic is solved

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
ningzai
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Tue Dec 29, 2020 1:59 pm

Home flag in content languages is set to NO and cannot be set back to YES

Post by ningzai » Tue Dec 29, 2020 3:06 pm

Hello,

I am trying to build a multilingual site with Joomla 3.9. Due to unknown reason, one of the "Home" flag in content languages is set to "NO" and I can't set it back to "YES". And the result is, it can't be seen or be selected in the homepage. But as I added it into system, it was all "YES" in this column and it worked.

Is there any way to set it back to "NO" (except changing it directly in database) or anyone knows what causes this problem? Thanks for any helps!

Image

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

Re: Home flag in content languages is set to NO and cannot be set back to YES

Post by imanickam » Tue Dec 29, 2020 4:15 pm

This is because there is no Default [Home] Page for the language zh-CN (Chinese - Simplified).

Just like for the German and English languages, please define a Default Page for the language zh-CN.
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

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 24977
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, Netherlands
Contact:

Re: Home flag in content languages is set to NO and cannot be set back to YES

Post by pe7er » Tue Dec 29, 2020 4:16 pm

Welcome to Joomla forum!

Have you created
one menu item for the language zh-CN (a menu item that has language "zh-CN" assigned) and
assigned that menu item as default homepage for that language?
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com

ningzai
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Tue Dec 29, 2020 1:59 pm

Re: Home flag in content languages is set to NO and cannot be set back to YES

Post by ningzai » Tue Dec 29, 2020 4:50 pm

Hi guys, thanks for the tipps. Yes that was the reason. Sorry I cannot remember when I unset the homepage in Chinese. Now it works again. Solved!

Thanks a lot!

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 24977
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, Netherlands
Contact:

Re: Home flag in content languages is set to NO and cannot be set back to YES

Post by pe7er » Tue Dec 29, 2020 5:16 pm

Good to hear that you've solved it. Thanks for your follow-up with how you've solved it!
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com

irenuyam
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 171
Joined: Mon Mar 11, 2019 8:30 am

Re: Home flag in content languages is set to NO and cannot be set back to YES

Post by irenuyam » Mon Feb 01, 2021 10:52 am

I am just wondering how to resolve this. I already have default pages for spanish and english but the "spanish" flag does not appear in the frontend for switching language and like the original post I cannot change from NO to YES.
Any help?

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 24977
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, Netherlands
Contact:

Re: Home flag in content languages is set to NO and cannot be set back to YES

Post by pe7er » Mon Feb 01, 2021 12:33 pm

Have you checked the back-end module "Multilingual Status"?

In back-end > Extensions > Modules > select the [Administrator] Modules and enable the Multilingual Status module. In the left bottom of your back-end, you'll have a new option to check the "Multilingual Status".

What does it say at your site?
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com

irenuyam
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 171
Joined: Mon Mar 11, 2019 8:30 am

Re: Home flag in content languages is set to NO and cannot be set back to YES

Post by irenuyam » Mon Feb 01, 2021 2:02 pm

pe7er wrote:
Mon Feb 01, 2021 12:33 pm
Have you checked the back-end module "Multilingual Status"?

In back-end > Extensions > Modules > select the [Administrator] Modules and enable the Multilingual Status module. In the left bottom of your back-end, you'll have a new option to check the "Multilingual Status".

What does it say at your site?
It is all enabled and clicking the Multilingual Status, this shows:
Capture4.JPG
You do not have the required permissions to view the files attached to this post.

irenuyam
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 171
Joined: Mon Mar 11, 2019 8:30 am

Re: Home flag in content languages is set to NO and cannot be set back to YES

Post by irenuyam » Mon Feb 01, 2021 2:42 pm

irenuyam wrote:
Mon Feb 01, 2021 2:02 pm
pe7er wrote:
Mon Feb 01, 2021 12:33 pm
Have you checked the back-end module "Multilingual Status"?

In back-end > Extensions > Modules > select the [Administrator] Modules and enable the Multilingual Status module. In the left bottom of your back-end, you'll have a new option to check the "Multilingual Status".

What does it say at your site?
It is all enabled and clicking the Multilingual Status, this shows:
Capture4.JPG
I finally resolve it but there is still a few things to fix.
The language switcher appears, I can change to English or Spanish
Capture5.JPG
Capture6.JPG
But once I click a menu in English, the content appears but the menu disappears
Capture7.JPG
So, any help? Thanks.
You do not have the required permissions to view the files attached to this post.

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 24977
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, Netherlands
Contact:

Re: Home flag in content languages is set to NO and cannot be set back to YES

Post by pe7er » Mon Feb 01, 2021 2:47 pm

Do you have one menu per language?
Have you created a Menu Module for each menu / language, and assigned the "language" in the Module to the language where it should be displayed?
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com

irenuyam
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 171
Joined: Mon Mar 11, 2019 8:30 am

Re: Home flag in content languages is set to NO and cannot be set back to YES

Post by irenuyam » Tue Feb 02, 2021 8:58 am

pe7er wrote:
Mon Feb 01, 2021 2:47 pm
Do you have one menu per language?
Have you created a Menu Module for each menu / language, and assigned the "language" in the Module to the language where it should be displayed?
I created Menu Module for each language, Principal Menu (es) for Spanish and Principal Menu (en) for English. Another Principal Menu (main) as default. Since our site is supposed to be by default in Spanish, should I create the same set of menu that Principal Menu (es) has for the Principal Menu (main)?
The English version is so far functioning well. When I click an item within the sub-menu of "News", its content appears with all the menu and the language switcher.
Capture8.JPG
The Spanish version, when I click the sub-menu for "Noticias", all menu appears with the language switcher
Capture9.JPG
But if I click one of the items in the sub-menu, it either appears like this (the language switcher disappears)
Capture10.JPG
or like this (the menus and language switcher disappears and only the Principal Menu (main) appears)
Capture11.JPG
So, I am wondering should the Principal Menu (es) and Principal Menu (main) be identical? And how come the language switcher disappears?
Thanks in advance.
You do not have the required permissions to view the files attached to this post.

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 24977
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, Netherlands
Contact:

Re: Home flag in content languages is set to NO and cannot be set back to YES

Post by pe7er » Tue Feb 02, 2021 9:11 am

irenuyam wrote:
Tue Feb 02, 2021 8:58 am
I created Menu Module for each language, Principal Menu (es) for Spanish and Principal Menu (en) for English. Another Principal Menu (main) as default. Since our site is supposed to be by default in Spanish, should I create the same set of menu that Principal Menu (es) has for the Principal Menu (main)?
No, one menu per language is enough.

So, I am wondering should the Principal Menu (es) and Principal Menu (main) be identical? And how come the language switcher disappears?
No, the Principal Menu (main) is for all languages.

Just make sure that
Principal Menu (es) for Spanish and
Principal Menu (en) for English
have menu items that are associated with the same menu items in the other language/menu.

And that all your articles are assigned to English or to Spanish.

Also check if the Language Switchter module is assigned to "All" languages,
and that the module's "Menu Assignment" is configured to display to "On all pages".
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com

irenuyam
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 171
Joined: Mon Mar 11, 2019 8:30 am

Re: Home flag in content languages is set to NO and cannot be set back to YES

Post by irenuyam » Tue Feb 02, 2021 9:40 am

pe7er wrote:
Tue Feb 02, 2021 9:11 am
irenuyam wrote:
Tue Feb 02, 2021 8:58 am
I created Menu Module for each language, Principal Menu (es) for Spanish and Principal Menu (en) for English. Another Principal Menu (main) as default. Since our site is supposed to be by default in Spanish, should I create the same set of menu that Principal Menu (es) has for the Principal Menu (main)?
No, one menu per language is enough.

So, I am wondering should the Principal Menu (es) and Principal Menu (main) be identical? And how come the language switcher disappears?
No, the Principal Menu (main) is for all languages.

Just make sure that
Principal Menu (es) for Spanish and
Principal Menu (en) for English
have menu items that are associated with the same menu items in the other language/menu.

And that all your articles are assigned to English or to Spanish.

Also check if the Language Switchter module is assigned to "All" languages,
and that the module's "Menu Assignment" is configured to display to "On all pages".
Well, I duplicated the menu items of Principal Menu (es) to Principal Menu (main) and somehow it worked. The language switcher and all the menus continue to appear.
Capture12.JPG
But when I clicked an article in the sub-menu of "Noticias", the menu now appears but the language switcher disappears.
Capture13.JPG
I checked the language switcher module and it is assigned to "All" languages as well as the menu assignment.
What should I check next?
This is a trial and error process for me.
You do not have the required permissions to view the files attached to this post.

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

Re: Home flag in content languages is set to NO and cannot be set back to YES

Post by infograf768 » Tue Feb 02, 2021 10:18 am

Looks like the only way to help you is to be able to log as superuser in your site administration.
You can send me a message or mail with the necessary credentials AND refernce this post and I will have a look.
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

irenuyam
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 171
Joined: Mon Mar 11, 2019 8:30 am

Re: Home flag in content languages is set to NO and cannot be set back to YES

Post by irenuyam » Tue Feb 02, 2021 5:29 pm

infograf768 wrote:
Tue Feb 02, 2021 10:18 am
Looks like the only way to help you is to be able to log as superuser in your site administration.
You can send me a message or mail with the necessary credentials AND refernce this post and I will have a look.
Thanks for offering to check it. The thing is I am actually trying to re-design an existing website thus it has so many menu and sub-menu that are no longer used or is connected with another menu, it is a bit chaotic actually. We want to preserve the articles that have been created thus we are doing it this way.
I created menus for Spanish, English and Main Menu and copied the menu items from the existing and published menu items. Then, I used another template with the menus I created.

In the Spanish version, what I noticed is when I click the menu "Noticias", then its sub-menu "Ecosistema...", the URL is
Capture14.JPG
But when I click the article under the sub-menu, this happens
Capture15.JPG
In the English version, clicking "News", then its sub-menu "Digital...", the URL is
Capture16.JPG
Then clicking an item, it appears correctly
Capture17.JPG
I can´t find what I am missing here.
You do not have the required permissions to view the files attached to this post.


Locked

Return to “Language - Joomla! 3.x”