.NET Core Localizers backed by Traduora
- Go to https://traduora.azurewebsites.net/ and create an account
- Add a few languages, terms and translations for a project
- Create an API Key and keep the Client ID and Secret in some file on your local computer (do not commit secrets into a git repo)
- Open the CMP.Localization.Traduora solution in Visual Studio
- Right click on the
Web
project and click onManage User Secrets
- You can safely store your Client ID and Secret from Traduora here and then the code makes use of it through IConfiguration
- Change the _config keys in the
sample\Web\Controllers\HomeController
file
Build and run
dotnet restore
dotnet build
dotnet run -p sample\Web\Web.csproj