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

Cloak initial string when using lazy-loading #330

Open
UnrealKazu opened this issue Jan 13, 2017 · 0 comments
Open

Cloak initial string when using lazy-loading #330

UnrealKazu opened this issue Jan 13, 2017 · 0 comments

Comments

@UnrealKazu
Copy link

When using the lazy-loading functionality, it is possible that the language file arrives after the rendering of the page has been completed (due to a slow connection, for example). This results in the temporary display of all initial strings before they are translated.

It would be great if there were some cloaking functionality for the translation directive (and filter, maybe?) which is aware of the in-flight lazy-loading call and doesn't do a translation lookup until the request has been completed. This way, the strings would just be rendered empty until the translation is ready.

How much work would it be to achieve this?

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