translatable body

thet0olman - April 28, 2009 - 15:17
Project:Translatable Comments
Version:5.x-1.0
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:duplicate
Description

how might this code be customized so that it translates the body instead of the comments.

i tried changing the code

$(".comment .content").each(function (i) {   
      var w = $(wrapper).clone().insertBefore(this);
</code?

to

<code>
$(".body .content").each(function (i) {   
      var w = $(wrapper).clone().insertBefore(this);

However I had no luck

#1

davidtrainer - November 13, 2009 - 02:40

Try changing that selector to

.node .content

#2

davidtrainer - November 13, 2009 - 02:41

Try changing that selector to

.node .content

#3

davidtrainer - November 13, 2009 - 16:13
Status:active» duplicate

See #283486: here is translatablenodes for a solution for D6.

 
 

Drupal is a registered trademark of Dries Buytaert.