Welcome to the OpenCities help centre. Search for what you're after, or browse the categories.
Can't find what you're looking for? Submit a support ticket and we'll be in touch.

Follow

Set Up Language Translations for Your Site

avatar of OpenCities Product Team

OpenCities Product Team

Last updated

This task is for users with the OC Site Manager or OC System Administrator roles.

Many cities and councils have large multi-lingual communities, so delivering your website in more than one language may be essential. There are three ways to do this:

  • Install a language pack to create content in multiple languages. You will need to manually create a page for each language.
  • Set up Google Translate for automatic translations. This is the quicker and easier option, but remember that we can't control the accuracy of Google's translations.
  • Use both options: install a language pack and manually translate important or popular pages (such as commonly used services), then set up Google Translate for the pages you haven't translated manually.

Manually translating an entire site will take time and money, so think about how you can best provide translations to your community.

Install a Language Pack

To get a language pack, you must submit a ticket so we can install it for you. After that, you'll need to turn it on for each site you want to use it on. We offer language packs for the following languages:

  • English (Australia) 
  • English (United States)
  • Vietnamese
  • Korean
  • German
  • Spanish (Latin America)
  • Russian
  • French
  • Tagalog
  • Chinese (Simplified)
  • Khmer
  • Malay
  • Māori
  • Tigrinya

Our language packs support characters used by a given language and provide search and spellcheck functionalities for those languages (except for simplified Chinese, which doesn't support spellcheck).

Some language packs include additional features:

  • Search stem support (to extend searches for a word to its derivatives so that, for example, searching "cook" will also find results for "cooking") – English, Spanish, German, and Russian
  • Synonym search support – English
  • Professional translation of labels and buttons – English and Spanish

To install and turn on a language pack:

  1. Submit a support ticket telling us which language you want to install so we can install it on your site. After we've installed the language pack, you'll need to turn it on for each site on which you want to use it.
  2. Go to More > Site Management > your site > Settings.
  3. Select Language.
    language icon in site management
     
  4. Under Content entry, check your newly installed language in the Available languages list.
  5. Choose the rest of your language settings.
  6. When you're finished, select Save Settings and Save.

Language Settings

Use the following information to choose your Language settings:

  • Content entry
    • Available languages: Select the language you want to turn on from this list of installed language packs. Please note that you can only uncheck a language from this list if it has not been used on any pages.
    • Default language: Set the default language for creating content by selecting it from the drop-down list. You can only change the default language if there are no pages using the default language.
  • Site language picker
    • Show picker: Toggle this to Yes to add a language picker to your site so that visitors can change the language of the site as they use it.
    • Use Google Translate: Choose when you want to use Google Translate. Please note that the languages available depend on what you have chosen in the Languages to include in picker setting. Additionally, please remember that we cannot control the accuracy of Google translations. We recommend checking the translated content to ensure it is accurate and hasn't caused any unexpected changes to the page's appearance. If you choose to use Google Translate, you may want to include a disclaimer on your site, on an accessibility or policies page, for example. You can choose to use Google Translate:
      • Never: Site visitors will not be able to use Google Translate through the language picker
      • Always: Site visitors will always be able to use Google Translate through the language picker
      • Only when we don't have our translation for the page: If there is a manual translation, that will be used, but the rest of the page (including headers, footers, and menus) won't be translated. This will result in a mix of languages.
      • Only when the page contains languages other than what the visitor has chosen: Your manual translation will be used and the rest of the page will be translated by Google Translate into the target language. We recommend using this option if you have manual translations so you don't end up with pages with multiple languages.
    • Languages to include in picker: This list of languages will be included in your language picker. To add a language, select it from the Available languages drop-down menu, then select Add. The available languages will appear under separate headings for Google Translate and site languages. Once you've added a language, you can use the four arrows icon to reorder them in the list, change the Display text that shows in the language picker, and change the language that the Display text is written in.
    • Redirect users to chosen language: When a visitor visits a page in another language and that page has a translation in the user's chosen language, you can redirect them to that translation. These are your options:
      • Never: If a user clicks on a link to a page that is not in their chosen language, they will not be redirected to any available translations.
      • Always: If a user clicks on a link to a page that's not in their chosen language, they will be redirected to any available translations.
      • Only when the page they're on is using the default language: If a user clicks on a link to a page not in their chosen language, they will only be redirected if that link goes to a page in the site's default language.  
    • Show languages in picker: Choose how the languages in your picker will appear. From the drop-down menu, select either In a dropdown list or As links.

Using Google Translate

To set up Google Translate for your site:

  1. Go to More > Site Management > your site > Settings.
  2. Select Langauge.
    language icon in site management
  3. Select when you want to use Google Translate from the Use Google Translate drop-down menu.
  4. Choose the rest of your language settings, including which Languages to include in picker.
  5. When you're finished, select Save Settings and Save.

We cannot control how Google translates your content or how pages appear in different languages. We recommend testing popular pages in various languages for accuracy and appearance.

What Else?

Now that you've set up different languages, you can start creating content:

Was this article helpful?
0 out of 1 found this helpful