Actions
CdmDataportalMultilingual » History » Revision 3
« Previous |
Revision 3/15
(diff)
| Next »
Andreas Kohlbecker, 08/01/2017 09:42 AM
Multilingual set up of the Data Portal¶
1) Install the following modules (see #5913)
Multilingual Language Icons (languageicons) Multilingual - Internationalization Internationalization (i18n) Multilingual - Internationalization Menu translation (i18n_menu) Multilingual - Internationalization Multilingual content (i18n_node) Multilingual - Internationalization String translation (i18n_string) Multilingual - Internationalization Translation sets (i18n_translation) Multilingual - Internationalization Variable translation (i18n_variable)
Notes on automatic installation of translations:
The translations can be named as $langcode.po or with names ending with $langcode.po. Translations are only automatically imported during the installation of the module for all the languages already set up on the site, see https://api.drupal.org/api/drupal/includes!locale.inc/function/locale_batch_by_component/8.x for details. If the module is already enabled you need to disable and re-enable it. Alternatively you can use the following drush command: drush php-eval "locale_system_update(array('yourmodule_name'));drush_backend_batch_process();"
Updated by Andreas Kohlbecker almost 6 years ago · 3 revisions