Forum Archive - Don't translate menu text

Don't translate menu text
Jul 13, 2011 1:43 pm by pmarcus81
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.
Re: Don't translate menu text
Jul 14, 2011 10:43 am by Edvard
The solution is the same, you need to add class="notranslate" to your menu wrapper tag.
Re: Don't translate menu text
Jul 14, 2011 1:10 pm by pmarcus81
Can you be more specific? I can't find a menu wrapper tag. I use Joomla 1.6... Is it Custom CSS Class maybe?
Re: Don't translate menu text
Jul 15, 2011 10:34 am by Edvard
Most likely you need to edit your template file.
Re: Don't translate menu text
Jul 15, 2011 11:13 am by pmarcus81
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?
Re: Don't translate menu text
Jul 15, 2011 11:36 am by Edvard
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.


Onloading the plugin quickly flashes up flags and text namesFeb 7, 2019 3:29 pmReplies: 1Post by: brobertson
wordpress amp link not translateDec 31, 2016 10:11 amReplies: 12Post by: besybuy
Translate website to any specific language, on page loadJan 19, 2019 6:49 amReplies: 1Post by: Leaon7756
Best way to translate a page in WordPress?Jan 7, 2019 11:10 amReplies: 3Post by: Tonnystark
how to translate site right to left for arabic in WordPressDec 26, 2018 9:02 amReplies: 1Post by: Hammond753

Try GTranslate with a free 15 day trial