https://github.com/cdon-dev/cmp.localization.traduora
.NET Core Localizers backed by Traduora
https://github.com/cdon-dev/cmp.localization.traduora
Last synced: about 1 year ago
JSON representation
.NET Core Localizers backed by Traduora
- Host: GitHub
- URL: https://github.com/cdon-dev/cmp.localization.traduora
- Owner: cdon-dev
- Created: 2019-03-25T06:32:18.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-08T14:42:34.000Z (about 7 years ago)
- Last Synced: 2025-03-31T01:48:03.907Z (about 1 year ago)
- Language: C#
- Size: 50.8 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CMP.Localization.Traduora
.NET Core Localizers backed by Traduora
## Getting the sample project running
#### Configure Traduora
1. Go to https://traduora.azurewebsites.net/ and create an account
2. Add a few languages, terms and translations for a project
3. 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)
#### Configure Secrets
1. Open the CMP.Localization.Traduora solution in Visual Studio
2. Right click on the `Web` project and click on `Manage User Secrets`
3. You can safely store your Client ID and Secret from Traduora here and then the code makes use of it through IConfiguration
4. Change the _config keys in the `sample\Web\Controllers\HomeController` file
#### In Visual Studio
Build and run
#### Command Line
````
dotnet restore
dotnet build
dotnet run -p sample\Web\Web.csproj
````
#### URL's to explore
* http://localhost:52512
* http://localhost:52512/?culture=en
* http://localhost:52512/?culture=de-DE