getTranslationForKey
Retrieve specific translation values based on project, component, language, and key parameters to streamline localization tasks in Weblate MCP Server.
Instructions
Get translation value for a specific key in a project
Input Schema
Name | Required | Description | Default |
---|---|---|---|
componentSlug | Yes | The slug of the component | |
key | Yes | The translation key to look up | |
languageCode | Yes | The language code (e.g., en, es, fr) | |
projectSlug | Yes | The slug of the project |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"componentSlug": {
"description": "The slug of the component",
"type": "string"
},
"key": {
"description": "The translation key to look up",
"type": "string"
},
"languageCode": {
"description": "The language code (e.g., en, es, fr)",
"type": "string"
},
"projectSlug": {
"description": "The slug of the project",
"type": "string"
}
},
"required": [
"projectSlug",
"componentSlug",
"languageCode",
"key"
],
"type": "object"
}