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

Dynamic namespace filtering #27

Open
Celant opened this issue Aug 20, 2021 · 3 comments
Open

Dynamic namespace filtering #27

Celant opened this issue Aug 20, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@Celant
Copy link

Celant commented Aug 20, 2021

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?

@GENL
Copy link
Owner

GENL commented Aug 26, 2021

Hello. It's a good approach, let me check that.
Also if you can you can propose a PR,

@GENL GENL added the enhancement New feature or request label Sep 30, 2021
@vpuentem
Copy link

i'm looking for the same

@GENL
Copy link
Owner

GENL commented Apr 3, 2024

Hi there! What's the structure of your translation files?

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

No branches or pull requests

3 participants