I’m using the Crayon Syntax Highlighter with the Transposh WordPress Translation Plugin. The syntax is being translated into the desired language (ie. Spanish, French, etc.). I belive I can stop this by adding code (http://transposh.org/faq) just before and after the
How do I or can Insert this code into the php coding so I dont have to manually insert it with each post?
From the Tranposh FAQ Site:
How can I prevent certain text from being translated?
You can wrap the text with an HTML class of “no_translate“, for example:
<span class="no_translate"> This text is not translated </span>
You may also use the following shortcode when appropriate:
[tp no_translate="y"] This text is also not translated [/tp]
The code HTML tag will also prevent translation:
<code> $this_code_won't_be_translated </code>
Can anyone give me a little direction, Please.
- The topic ‘Using Crayon with a WP Translator – HELP!’ is closed to new replies.