Skip to content

Sync CLI transaltation #168

@JanCizmar

Description

@JanCizmar

Problem

When users use CLI for push and pull, they want to be sure that when they pull, they get all translated.

There as some fresh new startup competitors, who build their products on top of this functionality, while for us this should be pretty easy to add.

Solution
Add the ability for the CLI to wait for machine translation to complete.

  • Run the batch job after pushing the new keys
  • The backend import endpoint should have support for this and should return the batch job ID so we know what to monitor
  • Use the WebSocket to show progress and to wait for the job to be completed

Appetite

  • I think 3 weeks should be enough to implement it on both sides of the platform and CLI

Rabbit holes

  • What if auto-translation is enabled for import? It should not run two jobs (manually triggered / auto-translation) for the same scope.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthotWe want to do this soon.pitch

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions