# Fix untranslated text

In some rare cases, Linguana may fail to detect some text that should have been translated. If you notice text on your website that isn't translated, and also isn't listed for that page on Linguana, there are steps you can take to fix the issue.

The most common cause for untranslated text is mismatched HTML formatting. **If the HTML of the translation does not match the HTML of the original text, Linguana may not be able to match up the translation with the original.**

To fix this, on Linguana, navigate to the page where there is untranslated text, location the translation, and select the `<>` buttons to view the HTML for the original and the translation.

<figure><img src="/files/9UQs54mDUjWXaGNnOzdF" alt=""><figcaption><p>View raw HTML</p></figcaption></figure>

Next, review the HTML to ensure the original and the translation match exactly. In this example, there needs to be two `<br>` elements in the middle of the text.

<figure><img src="/files/9pded40BswoiB231nMsQ" alt=""><figcaption><p>Ensure line break elements match</p></figcaption></figure>

In this next example, a hyperlink element is required at the very beginning of the translation. The positioning of the HTML element also needs to match exactly. There cannot be any text placed before this hyperlink element.

<figure><img src="/files/9DNe5rJQ5AUyp2aK0k5r" alt=""><figcaption><p>Ensure hyperlink elements match</p></figcaption></figure>

Once you've confirmed the translation HTML matches the original, you can click *Publish* to view your website live and confirm your issue has been resolved.

## Custom translations

**If your issue is still not resolved, you can also try to create a custom translation to fix the issue.**

<figure><img src="/files/NxjPk6p0Pxv3S9LhpCEw" alt=""><figcaption><p>Add custom translation</p></figcaption></figure>

1. Navigate to the page translations where the missing translation is located, and click the *Add custom translation* button.

<figure><img src="/files/717sB4hBn79ObRNUt3hj" alt=""><figcaption><p>Enter custom translation text</p></figcaption></figure>

2. Fill in the custom translation that appears with the text to be translated under *Original* and the translation under *Translation*. **IMPORTANT: Add a separate custom translation for each part of your content. For example, add a new custom translation after every line break or transition to/from bold, italic, or underlined text.**
3. Click *Publish*, and that's it!


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.linguana.io/translating-your-website/fix-untranslated-text.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
