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

Support code splitting translations #5

Open
RichardLindhout opened this issue Jul 4, 2020 · 0 comments
Open

Support code splitting translations #5

RichardLindhout opened this issue Jul 4, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@RichardLindhout
Copy link
Member

We could create a function:

createSharedOptions({ language: 'nl' })

And add support for simple translate objects without groups to put in

Screen/translate.ts
Screen2/translate.ts

This way code splitting would possible if translations are only used in the lazy loaded screens. Language would still change real time because of the sharedOptions object!

@RichardLindhout RichardLindhout self-assigned this Jul 4, 2020
@RichardLindhout RichardLindhout added the enhancement New feature or request label Jul 4, 2020
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

1 participant