Book Image

CiviCRM Cookbook

Book Image

CiviCRM Cookbook

Overview of this book

CiviCRM is a web-based, open source, Constituent Relationship Management (CRM) software geared toward meeting the needs of non-profit and other civic-sector organizations.Organizations realize their mission via CiviCRM through contact management, fundraising, event management, member management, mass e-mail marketing, peer-to-peer campaigns, case management, and much more.CiviCRM is localized in over 20 languages including: Chinese (Taiwan, China), Dutch, English (Australia, Canada, U.S., UK), French (France, Canada), German, Italian, Japanese, Russian, and Swedish.CiviCRM Cookbook will enhance your CiviCRM skills. It has recipes to help you use CiviCRM more efficiently, integrate it with CMSs, and also develop CiviCRM.This book begins with recipes that help save time and effort with CiviCRM. This is followed by recipes for organizing data more efficiently and managing profiles.Then you will learn authentication and authorization and managing communication with contacts.Then you will be guided on using the searching feature and preparing reports. We will then talk about integrating Drupal and CiviCRM. You will also be taught to manage events effectively. Finally, learn about CiviCampaign, Civimember, and developing CiviCRM.
Table of Contents (19 chapters)
CiviCRM Cookbook
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Installing languages and localizing CiviCRM


You might want your users to be able to use CiviCRM in a different language than US English. The CiviCRM user interface is available in many languages. This recipe shows you how to install these languages and localize your CiviCRM installation.

How to do it…

There are two stages to localizing CiviCRM. First we will download and install an interface translation and then we will configure CiviCRM using the Localization admin screens.

  1. Go to http://sourceforge.net/projects/civicrm/files/civicrm-stable and open the latest stable version of CiviCRM. There you will see an archive that contains the translation files. It is called civicrm-<version number>-l10n.tar.gz. If you uncompress this archive you will see there are two folders, l10n and sql.

  2. Copy the l10n folder into the CiviCRM module folder.

  3. Copy the contents of the sql folder into the sql directory that already exists in your CiviCRM module folder. You can now explore what is in the l10n folder. It contains subdirectories for each language that CiviCRM supports. The name of each subdirectory is a locale code for the translation. These are reasonably easy to understand. For example, es_ES is mainland Spanish, es_MX is Mexican Spanish.

  4. Remove languages that you do not wish to use from the l10n folder. Do the same for unused languages in the sql folder.

  5. Navigate to Administer | Localization | Languages, Currency, Location.

  6. At the top of the screen, select a new Default Language. In this case we will use French.

  7. Complete the other settings on this page for currency, date formats, and addressing. Save your settings. The site is now displayed in French and supports the date, currency, and addressing formats that were configured.

  8. Optionally under Multiple Languages Support you can check the Enable Multiple Languages checkbox. This allows the CiviCRM user to switch between two or more languages using the CiviCRM Language Switcher block available in your CMS. It also enables data entry in a different language.

  9. If you have checked Enable Multiple Languages, save your settings and then at the top of the screen add in the extra languages that you require.

    Here we are adding French. We can add extra ones by checking the checkboxes under Available Languages.

  10. Save the settings.

  11. In your CMS—in this case Drupal—navigate to Structure | Blocks and enable the CiviCRM Language Switcher block. The user can now switch between languages within CiviCRM.

See also