This microservice extends the cumulocity translation manager with an suitable REST API to show and add translations during runtime.
GET {{baseUrl}}/services/translation-manager-api/api/translations
RESPONSE BODY:
[
{
"key": "signal/hello/world",
"translations": {
"de": "Hallo Welt",
"en": "Hello World"
}
},
{
"key": "signal/welcome/description",
"translations": {
"de": "Willkommen",
"en": "Welcome"
}
}
]
POST {{baseUrl}}/services/translation-manager-api/api/translations
REQUEST BODY:
[
{
"key": "signal/welcome/description",
"translations": {
"de": "Willkommen",
"en": "Welcome",
"fr": "Bienvenue"
}
}
]
- Java installed >= 11
- Maven installed >= 3.6
- Cumulocity IoT Tenant >= 1010.0.0
- Cumulocity IoT User Credentials (Base64 encoded)
Cloning this repository into you local GIT repository
git clone ...
Install archetype localy in your local maven repository
mvn install
📘 Explore the Knowledge Base
Dive into a wealth of Cumulocity IoT tutorials and articles in our Tech Community Knowledge Base.
💡 Get Expert Answers
Stuck or just curious? Ask the Cumulocity IoT experts directly on our Forum.
🚀 Try Cumulocity IoT
See Cumulocity IoT in action with a Free Trial.
✍️ Share Your Feedback
Your input drives our innovation. If you find a bug, please create an issue in the repository. If you’d like to share your ideas or feedback, please post them here.
More to discover
- The power of micro frontends – How to dynamically extend Cumulocity IoT Frontends
- How to install a Microfrontend Plugin on a tenant and use it in an app?
- Cumulocity IoT Web Development Tutorial - Part 1: Start your journey
These tools are provided as-is and without warranty or support. They do not constitute part of the Software AG product suite. Users are free to use, fork and modify them, subject to the license agreement. While Software AG welcomes contributions, we cannot guarantee to include every contribution in the master project.
Contact us at TECHcommunity if you have any questions.