Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Cleaned dependencies and improved missing translations #131

Merged
merged 8 commits into from
Jul 12, 2022

Conversation

ErikApption
Copy link
Contributor

The current version of this localizer breaks our MAUI builds because of legacy packages

  • Added .net 6 specific build
  • Removed legacy packages for .net 5 and .net 6

@ErikApption
Copy link
Contributor Author

I added several other improvements in this path:

  • support for AdditionalResourcePaths - in a current app I'm working on, we need custom paths to load localization resources
  • got wasm working with embedded resources - which seems to be the only option unless someones figures out how to propagate the async context (and wasm doesn't let you cheat with async.Result)
  • removed the newtonsoft.json in the wasm build, this should also satisfy dependabot

@AlexTeixeira can you have a look pleeeaassseee

@ErikApption
Copy link
Contributor Author

ErikApption commented Jul 7, 2022

Added another feature for ignoring files with Json errors. This should not be enabled in dev (default is to disable this feature - aka the localizer will throw an exception) otherwise translations will fail without clear reasons but in prod, we don't want the site to crash because of a json file.

@AlexTeixeira AlexTeixeira merged commit db92864 into AlexTeixeira:master Jul 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants