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

Eva replied to Eva's discussion
Help Help Help
" I just started a test network on Ning. I'm having the same problems there too! No photos, in…"
Saturday
Eva posted a discussion
Saturday
Eva posted a discussion
For three days now, my two networks, Ning 2.0 and Ning 3.0, have been displayed incorrectly, they…
Saturday
⚡JFarrow⌁ replied to Alex - Rosas † Negras's discussion
I managed to add group video calling, if anyone is interested I will post the codes
"looks interesting"
Friday
⚡JFarrow⌁ updated their profile photo
Jun 16
Kenny Craig updated their profile
Jun 8
Isabella Wilson updated their profile
Jun 5
Eva liked ⚡JFarrow⌁'s discussion What is going on with Ning? What Do We have to Look Forward To?
Jun 2
Eva liked Suave's discussion I AM LOOKING FOR DEVELOPER ASSISTANCE WITH ADDING AUTOMATIC MUSIC TO MY HOME PAGE
Jun 2
Alex - Rosas † Negras posted a discussion
Jun 1
Alex - Rosas † Negras posted a discussion
May 28
Alex - Rosas † Negras replied to Suave's discussion
I AM LOOKING FOR DEVELOPER ASSISTANCE WITH ADDING AUTOMATIC MUSIC TO MY HOME PAGE
"if you need I'm here, if you look in my discussions you will also find the playstil"
May 23
More…

Meanwhile, you can check our social media channels