~/talk

Drupal 8's Multilingual APIs

Talkat DrupalCamp Spain 2017 · 2017-05-05..05-06· [web-platform, php]
slides:none on file

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

  1. 0:00Intro
  2. 2:05DRUPAL 7 MULTILINGUAL
  3. 5:23FOUR PILLARS IN DRUPAL 8
  4. 8:04DEALING WITH LANGUAGE
  5. 13:56DEPENDENCY INJECTION
  6. 16:21INTERFACE LANGUAGE
  7. 19:25TWIG TEMPLATES
  8. 26:28ENTITY LANGUAGE API
  9. 32:29CONFIGURATION API
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.