Skip to content

Improve automatic translation and bulk edit performance #15212

@nijel

Description

@nijel

Describe the problem

Translating many strings using automatic translation can be slow because of repeating actions:

Solution brainstorm

These edits are already marked by is_batch_update flags, it could be utilized for more things:

  • store changes in Translation.update_changes and save them to database in bulk via Translation.store_update_changes
  • similar approach could be used for pending unit changes
  • I'm not sure if we can do something with the labels
  • Other callers with is_batch_update should be investigated if they need to be modified as well

Describe alternatives you have considered

No response

Screenshots

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: Automatic translationIssues related to automatic translations, automatic suggestions, fuzzy matching etc.Waiting for: DemandLow priority for development. Pull requests welcome. Can be prioritized by sponsorship.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions