O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Drupal 7 Multilingual Sites

Book Description

A hands-on, practical guide for configuring your Drupal 7 website to handle all languages for your site users with this book and ebook.

  • Prepare your Drupal site to handle content in different languages easily
  • Apply the numerous multilingual modules to your Drupal site and configure it for any number of different languages
  • Organize the multilingual pieces into logical areas for easier handling

In Detail

Drupal is one of the most powerful and popular PHP Content Management Systems at the moment. By making your site multilingual, you are opening the door to a whole new user base, in as many countries as you like. Use the localization and internationalization features of Drupal 7 to automatically detect where your site users are visiting from and select the content appropriate to them. The world is your oyster!

Drupal 7 Multilingual Sites guides you through the wild world of localization and internationalization with practical and real-world exercises that you can apply to your own website. You will go from theory to practice and acquire the skills you need to make a user-friendly Drupal 7 site that supports multiple languages.

You will follow focused chapter exercises to add multiple-language support for your user interface, content, and various parts of your site’s configuration such as system variables, menus, and blocks.

The latter half of the book fills in the details with step-by-step exercises for localizing the interface, the content, and the configuration. Drupal 7 Multilingual Sites will give you the knowledge and the skills necessary to configure your site to support your language needs.

Table of Contents

  1. Drupal 7 Multilingual Sites
    1. Table of Contents
    2. Drupal 7 Multilingual Sites
    3. Credits
    4. About the Author
    5. Acknowledgement
    6. About the Reviewers
    7. www.PacktPub.com
      1. Support files, eBooks, discount offers and more
        1. Why Subscribe?
        2. Free Access for Packt account holders
    8. Preface
      1. What this book covers
      2. What you need for this book
      3. Who this book is for
      4. Before you start
        1. Exercise workflow tips
        2. Working with modules
        3. Extra topics
      5. Conventions
      6. Reader feedback
      7. Customer support
        1. Errata
        2. Piracy
        3. Questions
    9. 1. Multilingual Overview, Use Cases, and Modules
      1. Considerations and use cases
        1. Different types of language support
        2. Some things to think about
        3. Example use cases
          1. Simple blog site
          2. Consulting company site
          3. E-commerce site
          4. Our demo site
      2. Multilingual Drupal overview
        1. Speaking the same language... terminology
        2. Pieces of the multilingual puzzle
          1. Interface
          2. Content
          3. Configuration
      3. A look at the modules
      4. Summary
    10. 2. Setting up the Basics: Languages, UI Translation, and System Settings
      1. Getting up and running
          1. Using your own site
          2. Using the demo site
          3. Roles, users, and permissions
      2. Working with languages
        1. Adding languages with the Locale module
        2. Detecting languages
          1. URL
          2. Session
          3. User
          4. Browser
          5. Default
          6. Detection method order
          7. Our choice
        3. Switching between languages
      3. Interface and string translations
        1. Translating the interface
        2. Automatic translation updates
        3. Adding and fixing interface translations
        4. Contributing translations back to the community
        5. Translating English strings
          1. Modifying the settings.php file
          2. Using the String Overrides module
          3. Creating a custom English language
        6. Reusing custom translated strings
      4. General system configuration
        1. Updating regional settings
        2. Date and time formats
        3. Translating site variables
        4. Customizing the contact form
      5. Summary
    11. 3. Working with Content
      1. Nodes
        1. Enabling multilingual support
        2. Node translation model
          1. Configuring node translation
            1. Content type settings
            2. Node display options
            3. New and existing translations
          2. Synchronizing shared fields
          3. Extra content type options
        3. Field translation model
          1. Configuring field translation
            1. Entity settings
            2. Content type settings
            3. Translating content
          2. Using the language switcher
      2. Non-node entities
          1. Language assignment
          2. Comment display
        2. Users
        3. Taxonomy terms
        4. Custom entities
      3. Node listing and search pages
        1. Home page
        2. Taxonomy term pages
        3. Search
      4. Summary
    12. 4. Configuring Blocks, Menus, Taxonomy, and Views
      1. Blocks
        1. Language-specific blocks
        2. Translating blocks
        3. Blocks provided by modules
      2. Menus
        1. Language-specific menus
        2. Multilingual menus
          1. Node pages
          2. Pages with the same link
          3. Pages with different links
      3. Taxonomy terms
        1. Taxonomy translation module
          1. Language-independent terms
          2. Language-specific terms
          3. Localized terms
          4. Mixed-language vocabulary
        2. Updating the field label
        1. Multilingual views
        2. Language-specific views
        3. Nodes using field translation
        4. Non-node views
          2. Taxonomy terms
          3. Users
        5. Views text
      5. Summary
    13. 5. Panels, SEO, and More!
      1. Panels
        1. Panel panes
        2. Language-specific panel pages
      2. SEO
        1. Multilingual and international SEO
        2. Friendly URLs
          1. Removing special characters from path aliases
        3. Page title and meta tags
          1. Meta Tags module
          2. Meta Tags Quick module
          3. Page Title module
        4. Home page optimization
        5. Duplicate pages
      3. Translation management and workflow
        1. Who can translate?
        2. Content administration
        3. Contributed modules
          1. Lingotek Collaborative Translation module
          2. Translation Management Tool module
        4. Custom workflow
      4. Theming and module development
        1. RTL support
        2. Interface and content languages
        3. Custom CSS
        4. String translation functions
      5. Summary
    14. A. Modules, Resources, and Getting Involved
      1. Modules used in the book
        1. Chapter 2
        2. Chapter 3
        3. Chapter 4
        4. Chapter 5
      2. Module usage
      3. More multilingual modules
        1. Interface
        2. Content
        3. Configuration
        4. Admin tools
        5. Finding multilingual modules
      4. Community resources
        1. Groups, forums, and IRC
        2. Documentation and guides
        3. Articles, videos, and more
      5. Getting involved
      6. What's up for Drupal 8?
      7. Want more?
    15. Index