- Posts: 11
- Thank you received: 1
JMP Google Reviews - All reviews are translated in english
- s1689104581
- Topic Author
- Offline
- New Member
-
Less
More
11 months 2 days ago #204
by s1689104581
Replied by s1689104581 on topic JMP Google Reviews - All reviews are translated in english
Hi,
Thanks for the update.
I did a little change to your program : on the file mod_jmp_googlereviews.php ,
I added on line 53 :And I changed the line :to :
So it will display the reviews on the site using the site language. For us it's very useful as we have translated our site 3 languages
Thanks for the update.
I did a little change to your program : on the file mod_jmp_googlereviews.php ,
I added on line 53 :
$lang = JFactory::getLanguage()->getTag();
'reviews_text_language'=>$params->get('review_lang','en')
'reviews_text_language'=>substr($lang, 0, 2)
So it will display the reviews on the site using the site language. For us it's very useful as we have translated our site 3 languages
The following user(s) said Thank You: s1680802101
Please Log in or Create an account to join the conversation.
- s1680802101
- Offline
- New Member
-
Less
More
- Posts: 7
- Thank you received: 2
11 months 2 days ago #205
by s1680802101
Replied by s1680802101 on topic JMP Google Reviews - All reviews are translated in english
we had created 3 modules, one for each language...
The following user(s) said Thank You: s1689104581
Please Log in or Create an account to join the conversation.
Latest articles
-
Joomla Admin Menu RenameRename extensions on Joomla
-
Joomla Tiktok Embed pluginExplore TikTok on your website.
-
Restrict User Registration on JoomlaBlock user registrations by country, IP address or email.
-
Shortcut extension for JoomlaExtension to create shortcuts for Joomla administrator.
-
Embed an IFrame into JoomlaEmbed iFrame will help you insert iframes/Youtube/Twitter into articles or modules more easily.
Thanks in advance.
tiktok still not showing. Where else do I have to check? (่joomla4)