plug in for multi language suggestion

I believe we also need to have a multi langauge plugin in our website so that our webstore will be more user friendly to anyone in this world.

Just suggestion to our dropshiping journey.

regards,
 
Vote to that ! To my needs davinci theme is perfect except this one lack. Please add language switcher or ability to use some 3rd party plugin. Cannot go back to woo version without starting everything from zero ...
 

Mar

Moderator
I believe we also need to have a multi langauge plugin in our website so that our webstore will be more user friendly to anyone in this world.

Just suggestion to our dropshiping journey.

regards,
Try GTranslate plugin. I am using it, it's very good. When you click the floating translator button the language window will popup.
 

Attachments

  • 9Q6lJs.png
    9Q6lJs.png
    128.3 KB · Views: 50

Mar

Moderator
I try to use but mess up website
The first time I used it, some elements near the footer were hidden and it include a part of the payment method in the cart page. There is an easy fix for that. That was in my site. I have tried other translation plugin, the problem is the same. I don't know if this is the mess in your site.
 

Andre M

Active Member
You add the CSS codes below to Appearance>Customize>Additional CSS:

body { margin-bottom: 0px !important; }
.footer { position: relative !important; }
Tanks it works. Where is the best to put this, and dont conflit in phone view
 

Direct Webstore

Well-Known Member
** Go down to Post 23 for the final method of doing this.

A neater way if you want to edit the header.php is to grab the code from https://translate.google.com/manager/website/add

... and replace the useless macafee logo in the header with the code.

And also with this extra CSS ...

.goog-te-gadget-simple {
padding-top: 5px!important;
padding-bottom: 6px!important;
font-size: 7pt!important;
}

body {
margin-bottom: 0px !important;
}
.footer {
position: relative !important;
}

translate_003.jpg

EDIT: The smaller font size is so it looks better in mobiles.

EDIT 2: I'm still trying to center it between the search box and the cart ... when I work that out I will post the solution here.
 
Last edited:

Mar

Moderator
A neater way if you want to edit the header.php is to grab the code from https://translate.google.com/manager/website/add

... and replace the useless macafee logo in the header with the code.

And also with this extra CSS ...

.goog-te-gadget-simple {
padding-top: 5px!important;
padding-bottom: 6px!important;
font-size: 7pt!important;
}

View attachment 3653

EDIT: The smaller font size is so it looks better in mobiles.

EDIT 2: I'm still trying to center it between the search box and the cart ... when I work that out I will post the solution here.
That would be fine.
 

Direct Webstore

Well-Known Member
** Go down to Post 23 for the final method of doing this.

Well it was so obvious ... I didn't try it ... but just a couple of "<center> </center> did the trick.

i.e...
<div class="col-lg-20 col-md-20 col-xs-20"><br><center><div id="google_translate_element"></div></center>
<script type="text/javascript">
function googleTranslateElementInit() {
new google.translate.TranslateElement({pageLanguage: 'en', layout: google.translate.TranslateElement.InlineLayout.SIMPLE, autoDisplay: false}, 'google_translate_element');
}
</script><script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script></div>

Paste the above in place of ...

<div class="col-lg-20 col-md-20 col-xs-20 mcafee">
<?php if ( cz( 'tp_img_left_cart' ) ): ?>
<img src="<?php echo cz( 'tp_img_left_cart' ); ?>" alt="">
<?php endif; ?>
</div>

EDIT: That "mcafee" word needs to be removed or you get two google logos.

AND ... add this extra CSS

.goog-te-gadget-simple {
padding-top: 5px!important;
padding-bottom: 6px!important;
font-size: 7pt!important;
}

body {
margin-bottom: 0px !important;
}
.footer {
position: relative !important;
}

That's it!
translate_004.jpg
 
Last edited:
Top