argosopentech / argosopentech/translate-html

Translation issues (duplication and missing words) for german source with html encoded <

Open
#16 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
60
Forks
11
PR merge metrics
No merged PRs in 30d

Description

First of all: thanks for your work!

I stumbled into the following issues:

using the [example](https://github.com/argosopentech/translate-html) with `from_code = "de"` and `to_code = "en"`:

`html_doc = """

<

"""`

translates to:
```HTML

<= <= < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < <


```

expected translation: `

<

`

and

`html_doc = """

< Fehler

"""`

translates to:
`<

<=

`

expected translation: `

< error

`

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the linked example and reproduce both German-to-English inputs containing the HTML-encoded less-than entity. Trace the translation path that handles these inputs and compare its output with the expected HTML shown in the issue; done means both examples preserve the entity and translate "Fehler" to "error" without duplication.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
localization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.