Campaign Kit
  • Introduction
  • Administrator Documentation
    • Installation/Uninstallation
    • Definitions
    • Getting Started
      • Exploring the Demo
      • Getting Started with Campaign Kit
    • Configuration
    • User Links
    • Campaign Types
    • Campaign Ownership
    • Payment Workflow Types
    • Entities
    • Payment Processor Plugins
    • Theming
    • Administration
    • Extending Campaign Kit
    • Caching
    • Localization
    • Dependencies
    • Payment Stripe Documentation
      • Known Issues
    • Campaign Kit Donor Wall
    • Campaign Kit Queuing
  • Developer Documentation
    • Development Roadmap
    • Development
    • Release procedure
    • Reference
Powered by GitBook
On this page
  1. Administrator Documentation

Localization

PreviousCachingNextDependencies

Last updated 6 years ago

Campaign Kit is ready to be localized; please feel free to contribute translations. Read an overview of Drupal localization at on Drupal.org.

Localized Components

  • Campaign Title

  • Campaign Images

  • Description

  • Tab titles

  • Currency

  • Various text strings (“Organizer,” “Time left:” etc.)

To see all the text strings that are translatable, open the Spanish .po (es.po) file located in Campaign Kit/translations directory.

When making changes to the templates, use English for the original words and the following Twig construct to ensure the string can be substituted with entries in the .po file:

{{ 'Supporters'|trans }}.

Campaign Currency

Set the campaign currency on the Campaign Kit configuration screen (``/admin/campaign_kit/configuration/edit``). The options are:

  • USD

The currency symbol is displayed to the left or to the right of the amount on the campaign page, depending on the currency. The currency cannot be changed once the first donation is accepted; Campaign Kit will grey out the option. You must ensure that your payment processor can handle the currency you select.

Translation Overview