Installation
Requirements
- Umbraco CMS 17 or later
- .NET 10
- A Weglot account and API key. See Setting up with Weglot.
- Your site's original content must be in English. See How translation works.
Install the package
From your Umbraco site's project directory:
bash
dotnet add package Arjo.Umbraco.WeglotTranslatorOr use the NuGet Package Manager and search for Arjo.Umbraco.WeglotTranslator.
What gets added
On the next build and application start, the package:
- Runs a package migration that creates an empty
ArjoWeglotLanguagestable in your Umbraco database. No languages are added for you; you choose them in the backoffice (see Managing languages). - Adds an Umbraco Translator - Weglot item under Settings → Advanced in the backoffice.
- Ships the language switcher and hreflang partial views, and the switcher stylesheet.
Nothing is translated until you've added a Weglot API key and at least one language. On any hostname other than localhost, you also need a licence key.
Next steps
- Configure your API key
- Add your licence key (not needed on
localhost) - Add a language
- Set up your front end: add the language switcher and hreflang links to your layout