To create a multilingual site on Drupal 8, follow these steps:
1. Enable the Multilingual module: Go to the Extend section of the Drupal 8 admin interface and make sure that the Multilingual module is enabled.
1. Set up languages: To create a multilingual site, you need to add languages. Go to the Configuration section and select Languages. Here, you can add new languages and configure the language settings.
1. Enable Content Translation: To make your site multilingual, you need to enable Content Translation. Go to the Configuration section and click Content Translation. From here, you can enable translation for specific content types, fields, and taxonomy terms.
1. Translate content: Once you’ve enabled Content Translation, you can start translating your content. Go to the Content section, select the content you want to translate, and click the Translate tab. You can then add translations for each field.
1. Configure language switcher: To allow users to switch between languages on your site, you need to configure the language switcher. Go to the Configuration section and select Language Switcher. Here, you can configure the language switcher block and its placement on your site.
1. Test your site: Once you’ve set up your multilingual site, it’s important to test it to make sure everything is working correctly. Check that your language switcher is working, that your translations are displaying correctly, and that your site is fully functional in each language.