Skip to content

Isolating router scrambles multiple files #607

@gr8bit

Description

@gr8bit

I have some locale files I want to sort but individually, so every file separately. Therefore, I have the following config in config/i18n-tasks.yml:

base_locale: en
data:
  read:
    - config/locales/%{locale}.yml
    - config/locales/*.%{locale}.yml
    - config_tenants/locales/*.%{locale}.*.yml
  router: isolating_router

When I execute

i18n-tasks normalize

it moves translations around in these files, leaving some almost empty and others with most of the translations even from other files. This should not happen as I'm using the isolating_router.
Changing the order of the read section changes the outcome a little, but it's still wrong in the same way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions