-
-
Notifications
You must be signed in to change notification settings - Fork 216
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
add react internationalization #10639
add react internationalization #10639
Conversation
create react internalization module using i18next 23.14.0 with language detector see https://react.i18next.com/latest/using-with-hooks Fix jhipster#10413
015f131
to
aac4bfb
Compare
src/main/java/tech/jhipster/lite/generator/slug/domain/JHLiteModuleSlug.java
Outdated
Show resolved
Hide resolved
.../jhipster/lite/generator/client/tools/reacti18n/application/ReactI18nApplicationService.java
Outdated
Show resolved
Hide resolved
.../java/tech/jhipster/lite/generator/client/tools/reacti18n/domain/ReactI18nModuleFactory.java
Outdated
Show resolved
Hide resolved
.../java/tech/jhipster/lite/generator/client/tools/reacti18n/domain/ReactI18nModuleFactory.java
Outdated
Show resolved
Hide resolved
...te/generator/client/tools/reacti18n/infrastructure/primary/ReactI18nModuleConfiguration.java
Outdated
Show resolved
Hide resolved
src/main/resources/generator/client/common/reacti18n/src/main/webapp/app/i18n.ts.mustache
Show resolved
Hide resolved
...er/lite/generator/client/react/i18n/infrastructure/primary/ReactI18nModuleConfiguration.java
Outdated
Show resolved
Hide resolved
src/main/java/tech/jhipster/lite/generator/client/react/i18n/package-info.java
Outdated
Show resolved
Hide resolved
src/main/java/tech/jhipster/lite/generator/slug/domain/JHLiteModuleSlug.java
Outdated
Show resolved
Hide resolved
src/main/resources/generator/client/common/reacti18n/src/main/webapp/app/i18n.ts.mustache
Show resolved
Hide resolved
@DamnClin : if I'm not mistaken, your issue #10413 was more about adding i18n to the generator itself (i.e. to the application that runs jhlite)? I think @fabienpuissant that your PR is also an interesting feature, but we should probably not close the mentioned issue:) |
Yes maybe I did'nt get the point of Colin, cause I think that i18n on the front end app is a nice to have :) |
Congrats @fabienpuissant for your first contribution! :) |
add react internationalization
create react internalization module using i18next 23.14.0 with language detector see https://react.i18next.com/latest/using-with-hooks