Can't translate or associate different pages -> blog Help

General questions regarding the use of languages in Joomla! 4.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.
Post Reply
joaquiman
Joomla! Apprentice
Joomla! Apprentice
Posts: 28
Joined: Tue Sep 28, 2021 10:56 am

Can't translate or associate different pages -> blog Help

Post by joaquiman » Tue Sep 28, 2021 11:17 am

Hello,

I am finishing my website and I want to make a Spanish and French version.
I have installed "Multilingual Sample Data" with Joomla 4.0.
However, I have registered the different pages of the site as BLOG with their own categories.
My problem then is that I cannot translate or associate the different pages.
Indeed, there is no article....
I put pictures if you need to understand more about how the site settings are done. (probably badly done but I don't know how to remodel everything)

Thanks in advance for your help.

Sincerely,
You do not have the required permissions to view the files attached to this post.

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

Re: Can't translate or associate different pages -> blog Help

Post by pe7er » Tue Sep 28, 2021 11:50 am

Welcome to Joomla forum!

I have not used the multilingual sample data.
Can't you just create the categories/articles/menus/menu items manually?

For one of my multilingual website I've created the structure like this:
Created 4 categories
- Pour les visiteurs [fr-FR]
- Pour les administrateurs [fr_FR]
- Para los visitantes [es-ES] and associated it with "Pour les visiteurs [fr-FR]"
- Para los administradores [es-ES] and associated it with "Pour les administrateurs [fr_FR]"

I've created a "French" menu with menu items:
- Pour les visiteurs [fr-FR] as Category Blog, and selected the category
- Pour les administrateurs [fr_FR] as Category Blog, and selected the category

I've created a "Spanish" menu with menu items:
- Para los visitantes [es-ES] and associated it with the "Pour les visiteurs [fr-FR]" menu item
- Para los administradores [es-ES] and associated it with the "Pour les administrateurs [fr_FR]" menu item

After that I've created a couple of articles in the category "Pour les visiteurs [fr-FR]",
batch copied them to "Para los visitantes [es-ES]" (copied to that category + set the language to Spanish).

You've also to create + assign a menu module for both language menus.
Kind Regards,
Peter Martin, Global Moderator
https://db8.nl - Joomla specialist, Nijmegen, Nederland
The best website: https://the-best-website.com

joaquiman
Joomla! Apprentice
Joomla! Apprentice
Posts: 28
Joined: Tue Sep 28, 2021 10:56 am

Re: Can't translate or associate different pages -> blog Help

Post by joaquiman » Tue Sep 28, 2021 12:35 pm

Thank you very much for your feedback Pe7er!

Indeed, I think this is the "current" method for multilanguage. My problem is that my site is already created and the pages are not articles but blogs. These were created on YoothemePro and are not visible on Joomla...

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

Re: Can't translate or associate different pages -> blog Help

Post by imanickam » Tue Sep 28, 2021 12:39 pm

Just for clarification:

joaquiman wrote:
Tue Sep 28, 2021 11:17 am
My problem then is that I cannot translate or associate the different pages.
Be informed that Joomla would not translate automatically the content. In addition, there is no facility/feature in core Joomla to translate the content.

Also, the association is not done automatically. It has to be manually done.

Please be known that not all the extensions (including templates) have language files other than the English (en-GB) language.


joaquiman wrote:
Tue Sep 28, 2021 11:17 am
Indeed, there is no article....
In your site, there are three articles that are created by the sample data. They are Articulo (es-ES), Article (fr-FR), and Article (en-GB).

Also, you would notice different categories (e.g., Category (en-gb), Catégorie (fr-fr)) created for different languages installed during the creation of the multilingual sample data.


From your screenshots, it looks like you may have created articles in categories.

pe7er has provided excellent information about how he has created a multilingual site. You could develop yours in a similar way.

You could also refer the documentation https://docs.joomla.org/J3.x:Setup_a_Multilingual_Site to understand how to create a multilingual site from scratch. Even though the documentation is for Joomla 3, the concepts are equally good for Joomla 4.
Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
ex-Joomla! Translations Coordination Team
Eegan - Support the poor and underprivileged

joaquiman
Joomla! Apprentice
Joomla! Apprentice
Posts: 28
Joined: Tue Sep 28, 2021 10:56 am

Re: Can't translate or associate different pages -> blog Help

Post by joaquiman » Tue Sep 28, 2021 1:26 pm

Hello imanickam. Thank you for your complete answer!

I will rephrase my problem which was not very clear.
My pages were created with the Yootheme page builder. Each page was referenced as a "category blog" and selected in a category specific to the page itself.
My problem is that I don't know how to copy/paste all the pages to put them in the different language categories, because my pages are not articles but category blogs which I can't find.
(I don't know how to rectify this without losing my work)
I don't want to delete all my work from my website and start from scratch...

Can you help me? Thank you again for your answers.

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

Re: Can't translate or associate different pages -> blog Help

Post by pe7er » Tue Sep 28, 2021 2:50 pm

Actually, the multilingual site that I mentioned above, and that I've build with the description above is also using Yootheme Pro. I've added the categories + articles + menu items via Joomla.

In Yootheme Pro I have used "Templates" (and not "Builder" ! ) to add a "category blog" view to the 4 categories (Pour les visiteurs [fr-FR] + Pour les administrateurs [fr_FR] + Para los visitantes [es-ES] + Para los administradores [es-ES]), and an "single Article" view to the same categories. In those templates I've used Dynamic Content from the category / article to display on the page.

So I only use Yootheme Pro to build views (which they call "Templates"), and Joomla to add the category / article data and even Joomla's Custom Fields.
Kind Regards,
Peter Martin, Global Moderator
https://db8.nl - Joomla specialist, Nijmegen, Nederland
The best website: https://the-best-website.com


Post Reply

Return to “Language - Joomla! 4.x”