OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
How to Language Flag Icon of the selected language (0 viewing) 

Joomla Translate module support

Go to bottom Favoured: 0

How to Language Flag Icon of the selected language

joomleb (User)
Gold Boarder
Posts: 204
graphgraph
User Offline Click here to see the profile of this user
How to Language Flag Icon of the selected language 1 Year, 10 Months ago
Karma: 0  
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
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8367
graph
User Offline Click here to see the profile of this user
Re:How to Language Flag Icon of the selected language 1 Year, 10 Months ago
Karma: 102  
Hello


Code example:
Code:

<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>

Thank you - this is very useful propose for OrdaSoft Joomla translate and for other Joomla extensions

Only one remark: Joomla has built in method for add any modules to any Joomla site location. You may do this with help: loadmodule, loadposition, loadmoduleid - short codes
More details how load module to Joomla articles

Please, How can we show the Language Flag Icon of the selected language ?
Sorry, this need create as new layout to our joomla translate

Regards
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
joomleb (User)
Gold Boarder
Posts: 204
graphgraph
User Offline Click here to see the profile of this user
Re:How to Language Flag Icon of the selected language 1 Year, 10 Months ago
Karma: 0  
Hi Admin,

thank you. As far as we tested the "dropdowns" is useful with the "vertical" layout, while the "modal" is really very good with the "horizontal" layout.

"...Joomla has built in method for add any modules to any Joomla site location..." = You are Right.
I wrote {module id="..."} because I'm using "Modules Anywhere by Regular Labs".
It permits us to "overrides settings/parameters in the module": docs4.regularlabs.com/modulesanywhere/ge...figuration#behaviour


About "to show the Language Flag Icon of the selected language"
Being that we are using "Sourcerer by Regular Labs": regularlabs.com/sourcerer
that enable us to add any kind of HTML, CSS and JavaScript code, we thought there can be a simple system of substituting the Button "fa-globe-americas" for "the Language Flag Icon of the selected language".

If "...this need create as new layout..." is the only solution, respecting your time and your work, I have to say that this is our preferred solution.
It would solve these two issues in one time:
- ordasoft.com/Forum/Joomla-Translate-modu...Language-phrase.html
- ordasoft.com/Forum/Joomla-Translate-comp...-not-open.html#47216

Please, Can you add it for the next release ?
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8367
graph
User Offline Click here to see the profile of this user
Re:How to Language Flag Icon of the selected language 1 Year, 10 Months ago
Karma: 102  
We added this to wish list for ordosoft joomla translate

Regards
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
joomleb (User)
Gold Boarder
Posts: 204
graphgraph
User Offline Click here to see the profile of this user
Re:How to Language Flag Icon of the selected language 1 Year, 10 Months ago
Karma: 0  
Hi Admin,
Thank You, I'll stay tuned for next release...
Logged Logged
The administrator has disabled public write access.
joomleb (User)
Gold Boarder
Posts: 204
graphgraph
User Offline Click here to see the profile of this user
Re:How to Language Flag Icon of the selected language 1 Year, 1 Month ago
Karma: 0  
Hi guys,
PHP 7.4.33 & 8.1.22 + Joomla 4.4.0 + Joomla Translate Commerce 6.1.10

Please, Do you have any news about the "Instead to show the "fa-globe-americas" as fixed icon,
Please, How can we show the Language Flag Icon of the selected language ?"
Can you help with the piece of code to add ?
Logged Logged
Last Edit: 2023/11/05 15:46 By joomleb.
The administrator has disabled public write access.
Go to top
»