Drupal 8's Multilingual APIs
summary
Drupal 8 exposes four concrete multilingual APIs: language manager for creating/configuring languages and negotiating current language, StringTranslationTrait and the translation service (returns translatable markup objects, not raw strings), the content-entity translation system with getTranslation and field-level translatability, and the config translation system that exports YAML per language and supports config overrides. Views integrates language at query and render time, routing/menu titles use YAML extraction, dependency injection is the recommended pattern, and the project evolves with contributions from over a thousand people.
AI-written summary · about
chapters (9)
- 0:00Intro
- 2:05DRUPAL 7 MULTILINGUAL
- 5:23FOUR PILLARS IN DRUPAL 8
- 8:04DEALING WITH LANGUAGE
- 13:56DEPENDENCY INJECTION
- 16:21INTERFACE LANGUAGE
- 19:25TWIG TEMPLATES
- 26:28ENTITY LANGUAGE API
- 32:29CONFIGURATION API
related talks
37mMulti-Language Support
39mBuilding your translation process
46mDesigning Multimarket & Multilingual Sites: An In-Depth Look at...
20mFinding translations, localisation and internationalisation
48mContinuous Localization in Enterprise Web Projects
41mWhat’s New in Drupal 8?
08mLocalization for Real-World Use-Cases: Key Learnings from Onboarding Global Brands
23mDriving Seamless Localization
