DOCX

  • File extension: *.docx
  • Localization type: “docx”
  • Pluralization: no
  • Context: no
  • Translations Upload: yes
  • Custom Attributes: no

Translating DOCX Files in WYSIWYG View

While translating a DOCX file in addition to a regular string list view, its content can be displayed in a WYSIWYG view, in a form close to how the document looks in regular document editors. This allows for translating strings taking into account the context of the entire document, which in turn results in higher quality translation.

DOCX in WYSIWYG View

Dealing With Rogue Codes/Junk Tags in DOCX Files

Periodically, when translating DOCX files, you might encounter strings overflown with so-called rogue codes or junk tags. In most cases, it happens to files created with OCR software by converting scanned images into text.

Such files might look okay in MS Word or other text processing editors, but the issue becomes apparent when you open them in Crowdin. For example, when a section of text is bolded, italicized or has some other formatting, instead of having tags for a whole section, each word might be tagged, or tags might appear even in the middle of the words. As a result, such strings become hard to read and impossible to use TM suggestions and glossary terms.

DOCX with Junk Tags

Possible Solutions

There are a few possible ways to fix the rogue codes issue. Let’s review the options below:

  • Clearing the formatting. If your DOCX file doesn’t contain a lot of text with formatting (font styles, font size, bulleted or numbered lists, etc.), you can clear the formatting altogether. Before clearing the formatting for the whole document, try it on a few separate paragraphs. If you achieved good results, you might want to try clearing the formatting for the whole document. Select a text (Ctrl+A for the whole document selection), then open the Home tab > Font > click Clear All Formatting.

    Try this approach in a few different editors (e.g., OpenOffice Writer, Microsoft Word, Google Docs, etc.) to check out which one works the best for your DOCX files.

  • Using specialized apps. If your DOCX file contains some formatting you’d like to preserve, the first option might not be for you. Alternative, you can try using specialized apps (e.g., Document Cleaner, etc.) to keep your original formatting while removing junk tags.

See Also

Was this article helpful?