Current status of the Ning Platform is always available on the Ning Status Blog.

NC for Hire

If you're like me you believe your top of screen real estate to be very important..  and adding google translate can occupy a little too much, especially for mobile users.   This is why the default google translate element is too long.  Here is how we hack the size and the words.  To be clear this is what we are changing:

In order to shorten this to something less long insert the following code into your custom code bottom of page section at the end.

<script>
x$(document).ready(function(){
x$('#google_translate_element').bind('DOMNodeInserted', function(event) {
$('.goog-te-menu-value span:first').html('Translate');
});
})
</script>

and you'll get this: 

 

I even figured out that you can use an emoji in place of translate like so: 

 

 

Placement of Translate element is also very important and after many trials this is where I have decided it is best placed for both desktop and mobile and this is the CSS I used.  Place this inside the Design Studio advanced CSS  (dark theme for translate element optional, obviously):

#google_translate_element {
position: absolute;
top: 5px;
z-index: 99999;
left: 10px;
}

@media (max-width: 667px) {
#google_translate_element {
top: 55px;
right: 160px;
}
}


/* start dark google translate theme */
div#google_translate_element div.goog-te-gadget-simple {
background-color: #333;
border-color: #222;
}

div#google_translate_element div.goog-te-gadget-simple a.goog-te-menu-value span {
color: #ccc;
}

div#google_translate_element div.goog-te-gadget-simple a.goog-te-menu-value span:hover {
color: #eee;
}
/* end dark google translate theme */

 

 

Let me know if you are having challenges with your Translation of Ning communities.

You need to be a member of Ning Creators Social Network to add comments!

Join Ning Creators Social Network

Votes: 0
Email me when people reply –
 

Some interesting articles related to community management, digital marketing etc. could be found in our digest. Don't hesitate to leave a feedback so we would know that we should continue :-)

Latest Activity

Josef Essberger replied to Garfield Archivist's discussion
For Creators & Admins: Automated Process for Removing Inactive Users
"Are you still offering this service?"
Wednesday
Michael Rua Franco posted a discussion
Hello,¿Do you know how I can resolve this problem?My internet antivirus is detecting a possible…
Monday
Disha Rush updated their profile
Jul 13
Marly posted a discussion
Is there anyway to make comments from one member's profile to another appear on the activity feed.…
Jul 11
Josef Essberger updated their profile photo
Jun 25
kostasgr liked Alex - Rosas † Negras's discussion I want to thank JOHN BIZLEY ( BIZZ) for his invaluable help, active icons on the Ning bar,CODES ADDED
Jun 13
Daniel J. Wilford updated their profile
Jun 12
Pam Givens posted a discussion
HiIs there a way to post photos that won't go onto my page.  We just had a great conference and all…
May 31
⚡JFarrow⌁ replied to ⚡JFarrow⌁'s discussion
Styling Groups with New Design Studio with CSS and a Swift Hack
"nice assist
 "
May 19
⚡JFarrow⌁ replied to Alex - Rosas † Negras's discussion
I want to thank JOHN BIZLEY ( BIZZ) for his invaluable help, active icons on the Ning bar,CODES ADDED
"nice tip!"
May 16
Brandon Cameron updated their profile
May 11
John Hodge updated their profile
May 9
More…

Meanwhile, you can check our social media channels