Skip to main content

Use multiple languages

Wings has great internationalization support. Its main features:

  • Create multiple language versions of pages, allowing users to switch to a different-language version of a page
  • Built-in microcopy (form labels, confirmation messages, etc) for 20+ languages
  • Options to configure language-specific navigation menus
  • Options to create your own translation file by overriding (parts of) an existing translation for microcopy

You can set a primary language here, as well as other languages you would like to use.

Project-wide translations for strings#

There are quite a few copy strings set by default, such as "... has been donated to this fundraiser" on fundraiser pages. However, you can configure your own default project-wide copy strings, and even override these if you want to use specific copy for individual campaigns.

Go to Languages -> Translations to create a 'translation' for a language:

Then, go to the Translations settings of your App, and select the Translation you just created:

Copy overrides for specific campaigns#

Visit the 'Copy' tab for a campaign to override the default strings.

How to use multiple languages#

If you want to use multiple languages, first add them on this settings page.

Do you want to publish the secondary (or tertiary) language pages separate from the primary language pages? In that case, just publish them and link to them separately from other pages or link to them in the main menu. Note: pages in other languages than the one set as the primary language, get the language code added as a url parameter. For example, the article you see below, will get the path /articles/demo-article?lang=nl.

Do you want to publish the same page in multiple languages? Then, simply publish the same page/article/campaign in a different language, but use the same slug as the one published in the primary language In the example above, there is also an English article with the slug /demo-article, which you can see at demo.wings.dev/articles/demo-article.

As you might expect, the Dutch version can be found at demo.wings.dev/articles/articles/demo-article?lang=nl.