How to achieve runtime data loading according to user's input? #2967
Unanswered
riajain0412
asked this question in
Q&A
Replies: 1 comment 5 replies
-
Make a new data provider for each locale, and then cache it somewhere. There are a lot of ways to do this: it really depends on the architecture of your application. ICU4X is flexible in letting you choose how you want to do things. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
So, If I want to avoid data bundle and instead want the data file to get loaded as per the user's input. Suppose we have a segmenter code and user inputs German string so I want runtime data loading of german only files. How to achieve this in ICU4X?
I explored icu_provider_adapters but unable to get that how to use this in above stated scenario.
Beta Was this translation helpful? Give feedback.
All reactions