matice
matice copied to clipboard
Dynamic namespace filtering
Expected behavior
Dynamic/middleware-based namespace filtering. For example, being able to filter which translations are sent depending on the current route.
There are a lot of translations in the admin panel of my app, and they aren't needed for the user front-end. I can exclude them using namespace filters, but I can't do it selectively based on the route.
I'd like a way to only send some translations for my public pages, but all of the translations for the admin pages.
Current behavior
Possibly a modification of the current namespace filtering?
Hello. It's a good approach, let me check that. Also if you can you can propose a PR,
i'm looking for the same
Hi there! What's the structure of your translation files?