Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
CiviCRM Cookbook

You're reading from   CiviCRM Cookbook Improve your CiviCRM capabilities with this clever cookbook. Packed with recipes and screenshots, it's the natural way to dig deeper into the software and achieve more for your nonprofit or civic sector organization.

Arrow left icon
Product type Paperback
Published in Jun 2013
Publisher Packt
ISBN-13 9781782160441
Length 236 pages
Edition 1st Edition
Languages
Tools
Concepts
Arrow right icon
Toc

Table of Contents (13) Chapters Close

Preface 1. Setting Up CiviCRM FREE CHAPTER 2. Organizing Data Efficiently 3. Using the Power of Profiles 4. Controlling Permissions 5. Managing Communications 6. Searching and Reporting 7. Integrating CiviCRM with Drupal 8. Managing Events Effectively 9. Using Campaigns, Surveys, and Petitions Effectively 10. Working with CiviMember 11. Developing for CiviCRM 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.
    How to do it…
  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.
    How to do it…

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

    How to do it…
  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.
    How to do it…

See also

You have been reading a chapter from
CiviCRM Cookbook
Published in: Jun 2013
Publisher: Packt
ISBN-13: 9781782160441
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image