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

MF-221 Migrate deprecated i18next-xhr-backend to i18next-http-bakend #14

Closed
wants to merge 1 commit into from
Closed

Conversation

donaldkibet
Copy link
Member

@donaldkibet donaldkibet commented Oct 1, 2020

What does this PR do?

Migrate from deprecated 18next-xhr-backend to i18next-http-backend

Description of Task completed?

At the moment translation is loaded using ajax function of the i18next-xhr-backend to the new i18next-http-backend request function.

The old i18next-xhr-back is deprecated for reasons explained here

Screenshots

MF-221

Copy link
Contributor

@FlorianRappl FlorianRappl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd love to merge this in, but first I'd love to get the updated app shell merged in.

If you want to I can also get this one into the app shell release.

@donaldkibet
Copy link
Member Author

I'd love to merge this in, but first I'd love to get the updated app shell merged in.

If you want to I can also get this one into the app shell release.

sure @FlorianRappl i think it will be easier that way

FlorianRappl added a commit that referenced this pull request Oct 1, 2020
@FlorianRappl
Copy link
Contributor

Brought it over to #13 - thanks @donaldkibet ! 🍻

FlorianRappl added a commit that referenced this pull request Oct 2, 2020
* Generate the HTML

* Bringing elementary packages to the core

* Prepared for exposing packages as shared deps

* Realigned and improved

* Use default import map and favicon

* Bring api and error-handling to core

* Enhanced FHIR

* Incldued fihr typings

* Renamed to config

* Renamed module-config to config

* Improved sync

* Finished debugging

* Enhanced local settings

* Refinement

* Alignment

* Final alignment of basis

* Merged with latest changes

* Prettified

* Prepare for openmrs run command

* Changed version number

* Reordered deps

* Removed prepublishOnly script

* Updated dep version

* Rewired postcss

* Improved webpack

* Use submodule for running

* Adjusted for deployment; only need to publish app shell

* Added backend parameter

* Updated with importmap flag

* Changed to better i18n backend see #14

* Review comments

* Review comments

* Warn if importmap seems wrong

* Prettified
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

Successfully merging this pull request may close these issues.

2 participants