Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds language functionality to the app. More specifically, this PR adds support for languages, language files, ability to change document direction to support right-to-left languages and basic date formatting.
One thing to note is that we turned off caching of the translation files for now. This was done because, if you deploy the app to an IIS server and edit the translation files, the caching stopped the page from updating with the new values.
There is more work to do when it comes to regions and formatting of dates/numbers. The challenge here is that the same language can have different formatting in different regions: 'en-US' vs 'en-CA' vs 'en-GB'. But i18n might default to just 'en' in some cases, and this can give inconsistent formatting.
This PR contains work for PXWEB2-41, PXWEB2-97 and PXWEB2-98.