Introduction: Translate Content Into Multiple Languages.
One of the best ways to make your existing Drupal site more successful is to translate the existing content to different languages. Drupal 8 has a suite of multi-language and translation tools that makes it easy to translate content & site administration navigation menus.
This Tutorial will also help users who need to administer Drupal 8 in a language other than English. Administrators can install Language Packs for country-specific requirements.
Let’s get started.
Step One: Install Language, Locale, & Translation modules.
Note: Experienced Drupal users will quickly note that the popular i18n or Internationalization module is not updated for Drupal 8 websites.
Drupal 8 Changes: In order to build multi-language support into Drupal 8 publications, it is necessary to use the Language, Locale, & Interface Translation module suite.
Installation: Navigate to the /admin/modules section and install the Language, Locale, & Content + Configuration + Interface Translation modules. These modules are optional aspect of Drupal 8 core & can be found under the Multilingual section.
Step Two: Install the Required Language Packs.
The first step to getting started with a new Language for Drupal 8 administration is to navigate to /admin/config/regional/language and add a new Language Pack. After that, you can enable the language for Drupal menus, links, help text, etc. as available for the CMS.
Hint: You can add multiple languages & Drupal will search for installed text translations for administration modules on import. Site builders can use the URL structure for page translations.
Drupal 8 Advantages:Multiple Language support extends Drupal 8 globally across enterprise, education, & government agencies with millions of active daily users.
Step Three: Build Automated Content Translation Settings.
Installation: First, navigate to the Content Language section at: /admin/config/regional/content-language
- Select Each of the Content Types required for Language Translation.
- Review the Fields available on Content Nodes individually.
- Enable “Show language selector on create and edit pages” for nodes.
Hint: Save the Settings while making sure the checkboxes for all of the content is selected.
Complete!: After these settings are saved, you will be able to create language-specific translation of content according to URL across pages, nodes, blocks, menus, & taxonomy.
Step Four: Translate Blocks, Menus, & Views.
Get Started: Navigate to the Blocks section and notice a Translate option on the menu associated with each. Clicking on the link leads to the Block Language page:
Note: Edit the version you require to create language-specific versions of each Block.
Hint: These blocks will load on language specific content pages whenever the country specific (i.e. /de/ or /es/ or /en/) prefixes are found in the URL.
Step Five: Translate the Administration Section.
Hint: In order to run the administration menu in a language other than English, first install the language pack and then run the pages with the country extension (i.e., /de/, /es/, /en/, etc.).
Above: The Drupal 8 Module section running in Spanish (/es/admin/modules).
Above: The Drupal 8 Content Fields form running in German (/de/admin/structure/types).
Complete!: Navigate Drupal 8 Administration by language to automatically translate menus & text. Visit content pages with the country extensions to create unique translations.
Step Six: Set a Default Language Fallback Option.
Hint: Installing the Language Hierarchy module gives more flexibility in establishing fallback versions for multilingual content sites with many versions of content.
Navigate to each node page and click on the translate tab to create a unique language version.
Note: Install the Language Hierarchy module & then set fallback options on content types, menus, blocks, & views manually, for example to support regional dialects or auto-translate.
Conclusion: Manage Complex Multi-Languages Drupal Sites.
Summary: Drupal 8 has industry leading tools in core distribution for multi-language support with administration translations built into the Language Packs. Use the URL structure to create Nodes, Blocks, Menus, & Views with language-specific content.
Check out these top 3 Drupal hosting services:
- To end your queries about Top web hosting, simply click on this link.