Hi guys,
PHP 7.4.33 / 8.1.14 + Joomla 4.2.6 + Joomla Translate 6.1.4
- Module > List/Plain text/Text with flag:
Text list with flag
I love this option because it is simple, perfectly integrated with Joomla 4 & Bootstrap 5 and we can choose to show it in a vertical / horizontal way
Example: Many Thanks to the editor source (or through a 3rd party plugin like Sourcerer) by using the Custom Module we can add a button where we want, to click on it to open the Joomla Translate Module.
We can use the standard Bootstrap 5 to call it, like:
- Dropdowns:
getbootstrap.com/docs/5.1/components/dropdowns/
- Modal:
getbootstrap.com/docs/5.1/components/modal/
Code example:
<div class="dropdown">
<a type="button" class="fas fa-globe-americas" data-bs-toggle="dropdown" aria-expanded="false"></a>
<div class="dropdown-menu">
{module id="..."}
</div>
</div>
Instead to show the "fa-globe-americas" as
fixed icon,
Please, How can we show the
Language Flag Icon of the selected language ?
This would be a good tip to add to the Joomla Translate Documentation