Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Incorrect double translations

Open
#109 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
32/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
localization

Research direction

Start by reproducing the two apertium.translate calls shown in the issue and inspect the Python translation entry point they exercise. Trace whether the changed output comes from the Python wrapper or the translation pipeline, then verify the corrected behavior with a regression test covering the English-to-Spanish-to-English example.

Written by the indexing model from the issue text.

Description

Translating from English to Spanish and using the translation back gives out a very different (and incorrect) output.

[In]: apertium.translate('en', 'spa', 'These helps of handy tool believe dummy text for all your needs of design.')
[Out]: Estas ayudas de herramienta manejable creen *dummy texto para todas vuestras necesidades de diseño.
[In]: apertium.translate('spa', 'en', 'Estas ayudas de herramienta manejable creen *dummy texto para todas vuestras necesidades de diseño.')
[Out]: These helps of handy tool believe **dummy text for all your needs of design.

Dominant language
Python
Stars
35
Forks
27
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apertium/apertium-python

All issues in apertium/apertium-python

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.