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

How to use server-side translation with i18n and useTranslation? #3306

Open
MaximGaluga opened this issue Jan 16, 2025 · 1 comment
Open

Comments

@MaximGaluga
Copy link

I want to use the composable called useTranslation for translating my data on request from the client, but I can't find a way to configure the internationalization files solely for the server side. I can specify a list of files for the necessary locale and load them 'lazily,' but all the files I specify will be loaded by the client anyway. Please refer to the images below

Image

Image

@MaximGaluga
Copy link
Author

I don't want to load server-translation-only.json on the client; it should be kept for the server part

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

No branches or pull requests

1 participant