Don't translate menu text

Popular automatic website translation tool

Don't translate menu text

Postby pmarcus81 » Wed Jul 13, 2011 5:43 pm

Hello,

I know I can stop translating text in articles bij putting <span class="notranslate"></span> around it. But how do i stop translating menu text?

The problem is that i have a menu with all kinds of car brands, Ford, Alfa Romeo, Fiat, and...... Smart and Seat. Smart and Seat are English words, so it's to be translated and I don't want that.

Hope to hear from you soon,

Gr. Paul.
pmarcus81
 
Posts: 4
Joined: Wed Jul 13, 2011 5:35 pm

Re: Don't translate menu text

Postby Edvard » Thu Jul 14, 2011 2:43 pm

The solution is the same, you need to add class="notranslate" to your menu wrapper tag.
Regards,

Edvard Ananyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Edvard
Site Admin
 
Posts: 4185
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

Re: Don't translate menu text

Postby pmarcus81 » Thu Jul 14, 2011 5:10 pm

Can you be more specific? I can't find a menu wrapper tag. I use Joomla 1.6...

Is it Custom CSS Class maybe?
pmarcus81
 
Posts: 4
Joined: Wed Jul 13, 2011 5:35 pm

Re: Don't translate menu text

Postby Edvard » Fri Jul 15, 2011 2:34 pm

Most likely you need to edit your template file.
Regards,

Edvard Ananyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Edvard
Site Admin
 
Posts: 4185
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

Re: Don't translate menu text

Postby pmarcus81 » Fri Jul 15, 2011 3:13 pm

My menu item has a field for Custom CSS Class. When I pun notranslate there, it works!

My next problem is that article names are translated also. Where do I put a notranslate to stop the article name from being translated?
pmarcus81
 
Posts: 4
Joined: Wed Jul 13, 2011 5:35 pm

Re: Don't translate menu text

Postby Edvard » Fri Jul 15, 2011 3:36 pm

That need to be changed from the template. If you already have override for com_content then it will be easy, otherwise you need to create an override for com_content component.
Regards,

Edvard Ananyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Edvard
Site Admin
 
Posts: 4185
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia


  • Related Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests

2GLux