-
-
Notifications
You must be signed in to change notification settings - Fork 592
Description
Current behavior
There doesn't seem to be a way to delete a language once it was created.
In previous versions you could achieve this:
delete this.translate.translations[lang];
So I was able to give the user the possibility to create their own translations at runtime and delete them when no longer needed
Expected behavior
I would like to have a way to delete a language without a workaround like emtpying the translation and 'hiding' the registered unused language from the user by flagging them (which is what chatGPT suggested)
What is the motivation / use case for changing the behavior?
I have an Application where users can rename UI elements' titles and descriptions and thus have different versions of their frontend language to choose from
How do you think that we should implement this?
Maybe straight forward with a "deleteLanguage(lang:string)" function, but you know best what is most in line with your philosophy