FAQ - Translation of configuration strings

Last modified: May 18, 2009 - 00:56

In order to translate the faq configuration strings, such as the text for the "Back to Top" link and the page title, please install the i18n: internationalization module and follow the instructions at Multilingual variables. The "i18n_variables" you will need to configure for the faq module are:

  • faq_title - the page title
  • faq_description - the general FAQ page descriptive text
  • faq_question_label - the question label (e.g. Q:)
  • faq_answer_label - the answer label (e.g A:)
  • faq_back_to_top - the text for the "Back to Top" link

Drupal 6 FAQ Title and Description Tweak

1. Set the variables as described in this tutorial. The part "this is a multilingual variable" will not appear but we don't mind.

2. Run cron. And flushing caches is always useful to get things moving.

The development setting in browser of "disable caches" is not the same and refers just to your browser - not the drupal caches - so both is required.

Otherwise the changes to settings.php and probably to content type FAQ will not register.

3. Go to admin--> content management --> content types --> faq --> edit and under "workflow settings" choose for "extended language support" choice no2 "Extended - All defined languages will be allowed", then "save"

4. Go to the "frequently asked questions" in the admin page and switch to the language you need to translate.

e.g. If you are using english and you already saved this part as faq_title "Frequently Asked questions", switch to the other language (e.g. "Greek") and replace the faq_title (or description) with the language you wish. Click "Save"

see your variable table in your database if you need to be sure

and enjoy the results ;)

 
 

Drupal is a registered trademark of Dries Buytaert.