Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Translation][Loco] Consider handling the special status "blank translation" #44595

Copy link
Copy link
Closed
@kgonella

Description

@kgonella
Issue body actions

Description

Currently, the adapter only handles the status "translated" when pulling translations. In loco, there is a special status "blank translation" which allows to say that this key is translated but empty. This status is useful because you cannot save an empty key with the status "translated". The export API allows you to combine the statuses if you separate them with "," like in the example

Example

The method read of LocoProvider will look like this :

$response = $this->client->request('GET', sprintf('export/locale/%s.xlf', rawurlencode($locale)), [
    'query' => [
        'filter' => $domain,
        'status' => 'translated, blank-translation',
    ],
]);

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.