You can configure your Stacks site to support multi-languages to ensure all of your users/patrons are able to access content in a language most suited to them.
There are different options available to you when it comes to translating your site, you can:
- Manually translate all content
- Use Google Translate for translating your content
- Or use a combination of both, manually translating some content while also using GTranslate to fill in any gaps
This article will focus on installing languages, setting a default language, and manually translating your content. For more information on Google Translate and the Language switcher, see that article.
Installing Languages
When manually creating content in multiple languages, it is important to make sure those other language(s) are installed prior to creating content.
- From the Dashboard, click System Configuration, then click Languages
- Click +Add language
- Choose the desired language from the Language name drop-down list
- Click Add language
- A progress bar will appear indicating the installation process, do not leave the page or cancel this process
- Once the installation is complete, the new language will appear on the Languages dashboard page
- Click Save configuration when done
Setting a Default Language
Once a new language has been installed, from the list of Languages:
- Under the Default column, click the radio button for the desired default language
- Click Save Configuration
Manual Translations
Machine translations provide a quick and easy way for organizations to translate their Stacks site for users who speak different languages.
From time to time however, nuances in regional dialects and not knowing context can cause machine translations can fail. In these circumstances administrators can manually translate site labels and the content they create, to ensure proper translations are made for users viewing your site in different languages.
Manually Translating Site Labels
To manually translate site labels:
- Ensure the alternate language has already been installed as per the instructions above
- From the Dashboard, click System Configuration
- Click Site Labels
- From the Language picker in the admin toolbar at the top of the screen, select the Language
- Click the various menu options on the left, and translate the site label options associated with the menu item as needed
- Click Submit at the bottom of the page when finished
Manually Translating Content
Administrators have the option to manually translate content such as: Callouts, News Articles, Research Guides, Pages, etc. into different languages.
To translate content:
- Ensure the alternate language has already been installed as per the instructions above
- Navigate to the appropriate dashboard tile for the content type that you want to translate (Callouts, News Articles, etc.)
- From the list, locate the specific content that requires translation
- Under the Operations column, click the drop-down arrow, then click Translate
- On the new page, under the Operations column, click Add beside the desired language
- A new page will display the content, in the language it was created in
- Manually translate as needed
- Click Save (all translations) when finished