server/routes/strings_route library

Functions

stringsListHandler(DialectProject project, Request req) → Response
GET /api/strings?locale=<loc> — every source key with the matching translation entry. Returns 400 if the locale is missing or unknown to the project (i.e. not in target_locales and not the source locale).
stringsPutHandler(DialectProject project, Request req, String key) Future<Response>
PUT /api/strings/<key> — update a translation (or source) value.