Knowledge Base

Documentation to help you use the POEditor localization platform effectively

How to configure export whitespaces

Owner Admin

When working with localization files, preserving indentation is important for maintaining consistent formatting across your codebase.

In POEditor, the number of whitespace characters used for indentation is automatically captured during import and preserved on export. This ensures that your exported files maintain the same structure and readability as the original files.

How it works

  • Each time you import terms into a project, POEditor stores the indentation (whitespace) configuration used in the source file.
  • When exporting translations, the platform applies the same number of whitespace characters to the generated file.
  • This behavior helps keep formatting consistent without requiring additional configuration steps.

Supported file formats

Whitespace preservation applies to structured file formats where indentation is relevant:

In a nutshell

  • Indentation settings are determined during import.
  • To change the indentation, update the source file and re-import it into your project.
  • Exported files will always reflect the most recently imported indentation configuration.
Additional help

Related articles