Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Isolating router scrambles multiple files #607

Open
gr8bit opened this issue Nov 12, 2024 · 0 comments · May be fixed by #605
Open

Isolating router scrambles multiple files #607

gr8bit opened this issue Nov 12, 2024 · 0 comments · May be fixed by #605

Comments

@gr8bit
Copy link

gr8bit commented Nov 12, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant