drupal 8 multilanguage, how it works
TRANSCRIPT
Drupal 8 multilanguage,how it works
Anton Ivanov
How to on Drupal 7LocaleContent translationauto translations import?
How to on Drupal 7LocaleContent translationLocalization update
How to on Drupal 7Internationalizationfields translation entity?
How to on Drupal 7InternationalizationEntity Translation
$node->field_name['und'][0]['value'] = 'Some value';
$node->field_name['en'][0]['value'] = 'English value';$node->field_name['fr'][0]['value'] = 'Franch value';
Drupal 8 Installation Language is first Translations auto install Easy translation changes deploy
Drupal 8 Core modules Configuration Translation Content Translation Interface Translation Language
Drupal 8 Language page CRUD language No language unpublish English not required Override English strings
Drupal 8 Language detect Selected language Browser User Session URL Account administration pages
Drupal 8 Blocks Everything in blocks
Primary & Secondary menus Status messages Breadcrumbs Page title Page local tasks (tabs) Help text
Any quantity of block instances
Drupal 8 Views Pages & blocks is views now
Main page People page Content page New users block Recent content And many other..
Rendering language selection
Drupal 8 Config system YML files Active settings on DB Configs is translatable Translation restriction
Drupal 8 Node translation 2 ways on Drupal 7 Fields lvl on Drupal 8 only
Enable translation and select fields Set translation permissions (Entity/Bundle) Add new translation
Fields translation variants
Drupal 8 Node duplicate Translation with entity duplication
Not enable translation for node type Create node on “base” language Use Node clone (language copy creation) Create view with language filter
Drupal 8 Changes No Language neutral used: Not applicable
and Not specified instead Machine names transliteration from the box No get_t() & st() only t() now Placeholder “!” was removed use “:” on t() instead Context available on JS files also
Drupal.t('May', {}, {context: "Long month name"}); String translation edit on translation
search page
Anton Ivanov
Thank You! Questions?