Hello!
I make a multilingual site on Drupal and translate custom fields. there is a piece of code
$output .= '<div class="tours">'; $output .= drupal_render($form['field_tours']['und']['Day Tour']); $output .= drupal_render($form['field_tours']['und']['Night Tour']); $output .= drupal_render($form['field_tours']['und']['Custom Tour']); $output .= '</div>'; How to translate this into English? type if the language is English then output
$output .= drupal_render($form['field_tours']['und']['Day Tour']); , otherwise we derive Russian
( $output .= drupal_render($form['field_tours']['und']['Дневной тур']); Help what you can, very urgently)