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

Dynamically resolve locale to country mapping and message bundles #1320

Open
zcgandcomp opened this issue May 30, 2023 · 0 comments
Open

Dynamically resolve locale to country mapping and message bundles #1320

zcgandcomp opened this issue May 30, 2023 · 0 comments

Comments

@zcgandcomp
Copy link
Member

zcgandcomp commented May 30, 2023

Currently, there is a built-in static mapping for supported languages and countries. Modify to dynamical mapping without the need for hardcoded parameterization.

Fix HomeControler - dynamically load available languages.
Fix Client.js - add properly locale data to context, load mapping from a external resource.
Fix App.js - init default mapping properly.
Fix localeReducer - dispatch load of locales in a dynamic way.
Fix index.html - creating locale messages has to be dynamic based on configuration.

Those are the places that should be changed - TBD how exactly.

@zcgandcomp zcgandcomp changed the title Modify App.js to to dynamically resolve locale to country mapping Dynamically resolve locale to country mapping and message bundles Jun 1, 2023
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