Skip to content

[RFC] Alternate structure for translation files #34121

@ro0NL

Description

@ro0NL

Looking at the translations/ directory, it holds N*N files. That is each domain, for each locale:

domain.en.yaml
domain.nl.yaml
other.en.yaml
...

instead, i like to propose:

en/
  domain.yaml
  other.yaml
nl/
  domain.yaml

The directory is much less cluttered:

  • we see the supported locales
  • in the default locale we the supported domains
  • adding a new locale is simple like cp -R en fr

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    RFCRFC = Request For Comments (proposals about features that you want to be discussed)Translation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions