AskmethatFR / AspNetCore.Localizer.Json

Json Localizer library for NetCore environments
MIT License
15 stars 4 forks source link

MissingTranslations.json overwritten on culture change #3

Closed yjmrobert closed 3 months ago

yjmrobert commented 7 months ago

When using the TrackTranslations feature it's correctly tracking all of the missing translations (very helpful!), however when switching the culture it will overwrite the entire file with the new missing translations.

It would be great if they were either written into the json on the file

{
  "default": {
    "hello": "hello"
  },
  "fr-CA": {
    "hello": "bonjour"
  },
}

or if they could be written into separate files, maybe in the MissingTranslations.<culture>.json format

ErikApption commented 6 months ago

Should be fixed by https://github.com/AskmethatFR/AspNetCore.Localizer.Json/pull/4

AskmethatFR commented 3 months ago

Resolved with version 0.0.1