Community Documentation

Lightbox2 - Translation of configuration strings

Last updated January 8, 2009. Created by stella on April 28, 2008.
Log in to edit this page.

In order to translate the lightbox2 configuration strings, such as the text for the "View Image Details" link and the image count, please install the i18n: internationalization module and follow the instructions at Multilingual variables. The "i18n_variables" you will need to configure for the lightbox2 module are:

  • lightbox2_node_link_text - the text to display as the link to the image details page (e.g. "View Image Details")
  • lightbox2_download_link_text - the text that will appear as the link to the original file underneath the image in the lightbox (e.g. "Download image")
  • lightbox2_image_count_str - image count text (e.g. "Image !current of !total")
  • lightbox2_page_count_str - page count text (e.g. "Page !current of !total")
  • lightbox2_video_count_str - video count text (e.g. "Video !current of !total")

Comments

Same code in one > Copy & Paste:

// Lightbox2 Module
// the text to display as the link to the image details page (e.g. "View Image Details")
'lightbox2_node_link_text',
// the text that will appear as the link to the original file underneath the image in the lightbox (e.g. "Download image")
'lightbox2_download_link_text',
// image count text (e.g. "Image !current of !total")
'lightbox2_image_count_str',
// page count text (e.g. "Page !current of !total")
'lightbox2_page_count_str',
// video count text (e.g. "Video !current of !total")
'lightbox2_video_count_str',

Page status

No known problems

Log in to edit this page

About this page

Drupal version
Drupal 5.x, Drupal 6.x

Site Building Guide

Drupal’s online documentation is © 2000-2013 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License. Comments on documentation pages are used to improve content and then deleted.