What are the raw HTML and Styled views?

In this article, you will find how to edit your translations that contain HTML tags more efficiently through the HTML raw view and the Styled view.

 

When Weglot generates your translations, it reads, parses, and cuts your content depending on your HTML tags. That means Weglot keeps some of the HTML tags in your translation to preserve the design in the translated version. For example, it will retain words that were originally in italics, bold, or linked in the source content.

Weglot offers different views to make the translation editing process easier.

 

 

The Styled view

 

Go to your Weglot Dashboard, select the project you are working on, then go to the Languages page and click on the language pair you wish to edit.

You'll see a “Visual Editor” option at the top and in some translations you may find few highlighted words called "Markup", this is the Styled view and indicates when you have HTML tags in the translation.

 

Be aware that Weglot takes only the content of your HTML code and generates translations for it. So, if your original content contains HTML tags (such as a span or a strong tag), then you will see these indications through the highlighted words/markup in your Visual Editor. 

Weglot doesn't make any manual edits to these HTML tags. It will only display the automatically generated translation. So if you want to edit this translation, you'll have to do it through the dashboard.

 

 

The raw HTML view

 

The raw HTML view shows the tags as they appear in your original content or source code. By default, you'll see the HTML tags instead of the colors (like in the Styled view) in your translation list, available via your Languages page:

 

The Styled view option is automatically displayed in your Visual Editor, but you can find the icon at the top right of each translation to change to the Raw View:

 

This view will help you edit the content between the HTML tags (such as strong, italic, or link elements).

Be aware that it's important to keep these HTML tags in the translation to preserve the design in the translated version and not break it. You have to make sure that the translated version's HTML tags follow the same structure as those of the original one.

It won't be possible to add new HTML tags in the translated version, you won't be able to save the translations with additional HTML tags.

 

If you are using the Raw View in the Visual Editor, you can still switch to the Styled View via this button at the top of translations:

 

 

 

 

Give feedback about this article

Was this article helpful?