Example: If I use Spanish, and one of the keys is missing, I want to display the English version of it.
@NetanelBasal I would be happy to pick this.
Go ahead 馃榾
@NetanelBasal In your point of view is it better to add this behavior directly in the translate method or delegate this to the DefaultHandler ?
There are couple of issues with this approach:
The solution for this is that if the consumer passes the fallbackLangValue option, we should load both the active language and the fallbackLangValue and merge them together. Then, we can clean some memory by removing the fallbackLangValue translation from the service's cache.
@Edouardbozon what's the status of the issue?
@NetanelBasal I have something working, I have to add tests now. I will push it soon to get feedback.
Most helpful comment
@NetanelBasal I would be happy to pick this.