Skip to content
This repository was archived by the owner on Mar 5, 2026. It is now read-only.
This repository was archived by the owner on Mar 5, 2026. It is now read-only.

Feature Request: Translate only changed text #10

@fell-lucas

Description

@fell-lucas

Hey! I've recently integrated this in one of my projects, the work you've done here is amazing!

I have an idea that might improve the results and consume less tokens from DeepL: Is it possible to check for changed/added translations and send only those texts to DeepL? I imagine the implementation would be something like: (considering a flat .json scenario)

  • Compare the changed lines in the source file with the same file in the main/master branch.
    • If there is no file to compare it to, consider all lines as new
    • If there is, save the new and changed lines in a temporary json
  • Submit the temporary file to DeepL for translations
  • Merge the new modified translations from DeepL into the respective flat .json outputs

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions