https://github.com/elders/localizations
Localization abstractions and PhraseApp implementation for .NET applications
https://github.com/elders/localizations
csharp locale localization phraseapp translation
Last synced: 10 months ago
JSON representation
Localization abstractions and PhraseApp implementation for .NET applications
- Host: GitHub
- URL: https://github.com/elders/localizations
- Owner: Elders
- License: apache-2.0
- Created: 2017-10-18T11:54:33.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-01-17T07:43:57.000Z (over 2 years ago)
- Last Synced: 2024-05-16T00:29:41.870Z (about 2 years ago)
- Topics: csharp, locale, localization, phraseapp, translation
- Language: C#
- Homepage:
- Size: 372 KB
- Stars: 1
- Watchers: 11
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simple Localization abstractions
### Supports
- get by localization key and locale - `client.Get("some-key", "some-locale-like-en");`
## PhraseApp C# implementation (read only)
### Using
- `PhraseApp API v2` [Documentation](https://phraseapp.com/docs/api/v2/)
- In memory cache for locales and translations
- Authorization with OAuth tokens
### Getting started
In order to start using this implementation you need to provide `accessToken`, `projectId` and `TTL`
- `accessToken` is used for authenticate against `PhraseApp` APIs. [Generate here](https://phraseapp.com/settings/oauth_access_tokens)
- `projectId` is used to navigate in `PhraseApp` APIs (in order to get locales and translations). You can find it by navigation to project settings in `PhraseApp` then selecting `API`
- `TTL` is the time span between syncing the cache with `PhraseApp`