To make a default costum text and default costum link in the po file, depending on the language.

CommentFileSizeAuthor
#3 README.txt1.32 KBiamEAP

Comments

mvc’s picture

Title: Make the link and text translatable » Document how to translate the link and text
Component: Code » Documentation

The link and text are stored as variables, and so must be translated using the i18n module's support for internationalized variables, not in the ie6update module itself.

To do this, add the two variables used by this module (ie6update_destination_url and ie6update_update_bar_message) to the $conf['i18n_variables'] array in settings.php, then visit admin/settings/ie6update, switch to each language, enter an appropriate translation, and save the page. The settings for each language will then be saved independently.

More information on i18n variables is available in the handbook at http://drupal.org/node/313272

I suggest adding these instructions to a README.txt file.

mvc’s picture

Status: Active » Needs review
iamEAP’s picture

StatusFileSize
new1.32 KB

I'm attaching a README.txt file which should be added to the repo. I picked and choosed info from the project page, added what I thought was sensible, and information regarding how to translate the variables.

mvc’s picture

Status: Needs review » Reviewed & tested by the community

Looks good here :)

iamEAP’s picture

Status: Reviewed & tested by the community » Fixed

Committed and released in 6.x-1.4.

Thanks for the info, mvc.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.