Skip to content

Feature Request: Skip Empty Strings in Translation to Avoid Unnecessary Errors #59

Closed
@tomasen

Description

@tomasen

I found that trying to translate empty strings leads to unnecessary processing and error handling.

error while translating "" using google2. Assigned "--" instead of exit from cli.

Proposed Solution

I propose that the translation feature be enhanced to automatically skip empty strings and apply the output as is. This approach would prevent the system from attempting to translate an empty input, thereby avoiding the generation of errors and improving efficiency.

Expected Outcome

Implementing this feature can:

•	Reducing unnecessary error messages that clutter the system logs.
•	Saving computational resources by not processing empty inputs.
•	Simplifying error handling in scripts and applications that utilize this translation feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions