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

Lazy loading of locale data #110

Open
kakserpom opened this issue Jun 14, 2024 · 3 comments
Open

Lazy loading of locale data #110

kakserpom opened this issue Jun 14, 2024 · 3 comments
Labels
help wanted Extra attention is needed new feature Issues or pull requests that introduce new features

Comments

@kakserpom
Copy link

Is it planned?

@mondeja mondeja added the new feature Issues or pull requests that introduce new features label Jun 15, 2024
@mondeja
Copy link
Owner

mondeja commented Jun 15, 2024

For now I have not needed it, that is why it is not implemented and I'm not planning it in the short term. Maybe it requires a lot of work because fluent-templates uses another loader (ArcLoader). PRs are welcome.

@mondeja mondeja added the help wanted Extra attention is needed label Jun 15, 2024
@kakserpom
Copy link
Author

Well I am already building a plugin for automatic AI translation using DeepL and Google Translate. I want my project to be available in dozens of languages.

Before choosing leptos-fluent I tried https://github.com/Baptistemontan/leptos_i18n, there's an effort towards dynamic locale loading (https://github.com/Baptistemontan/leptos_i18n/pull/97/files), but that PR is stale.

I think that locale data should be incapsulated into a Leptos resource.

@kakserpom
Copy link
Author

It's not a pressing issue for me because my project release is not so near. I have limited time even to work on my own project, so I'd rather wait for someone else to implement this feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed new feature Issues or pull requests that introduce new features
Projects
None yet
Development

No branches or pull requests

2 participants