Skip to content
English
  • There are no suggestions because the search field is empty.

How to preserve spaces in XML document translations

Lara supports preserving spaces in XML translations using the standard xml:space attribute.

By default, XML may collapse extra spaces (xml:space="default"). To keep the exact spacing, add xml:space="preserve" to the element. 

 


 

This article is about:

  • XML translation formatting
  • Preserving spaces in translated documents
  • Using xml:space="preserve"