Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Joomla! 4 Masterclass

You're reading from   Joomla! 4 Masterclass A practitioner's guide to building rich and modern websites using the brand-new features of Joomla 4

Arrow left icon
Product type Paperback
Published in Jan 2023
Publisher Packt
ISBN-13 9781803238975
Length 338 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Luca Marzo Luca Marzo
Author Profile Icon Luca Marzo
Luca Marzo
Arrow right icon
View More author details
Toc

Table of Contents (26) Chapters Close

Preface 1. Part 1 – Joomla! Out of the Box
2. Chapter 1: A Powerful and Extensible Core FREE CHAPTER 3. Chapter 2: How to Manage Content 4. Chapter 3: Advanced Content Management 5. Chapter 4: Exploring the Flexibility of Modules 6. Chapter 5: Building Your Site Structure: the Menu System 7. Chapter 6: Managing Users and Their Permissions 8. Part 2: Advanced Features
9. Chapter 7: SEO at Its Best 10. Chapter 8: One Site, Multiple Languages 11. Chapter 9: Planning Operations with Scheduled Tasks 12. Chapter 10: Tailored Communication with Mail Templates 13. Chapter 11: Command-Line Interface 14. Part 3: Styling and Securing Your Website
15. Chapter 12: Styling Your Website – Templates 16. Chapter 13: Customize Everything with Overrides 17. Chapter 14: Child Templates 18. Chapter 15: Template Frameworks 19. Chapter 16: Advanced Features – Access and Security 20. Part 4: Case Studies
21. Chapter 17: Case Study – A Corporate Website in Joomla 22. Chapter 18: Case Study – Online Academy with Joomla 23. Chapter 19: Case Study – A B&B Booking System with Joomla 24. Index 25. Other Books You May Enjoy

Managing content in multiple languages

After completing the setup of the website, we need to add content to each language. This can be easily done by simply selecting the language to which each content item should be assigned.

While creating or editing an article, in fact, we can see a new field called Language, which allows you to choose the language to assign to the article, as displayed in Figure 8.16.

Figure 8.16 – Assigning a language to an article

Figure 8.16 – Assigning a language to an article

The dropdown highlighted in Figure 8.16 will list the languages enabled on the website; in our example, we can find: English (en-GB), Italian (it-IT), and All.

When All is assigned to content, it is available in all the languages of the website.

Language assignment

It is good practice to assign a language to each piece of content when working on a multilingual website. This allows you to show only the correct content to your visitors and prevents showing content in mixed languages.

...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime