Closed smokku closed 6 years ago
@smokku Thanks for your PR. Would you send another PR with a test case describing the problem, so I could try different approach? I am wondering if there is a better solution for this.
intlSelector
with key
property should do the same.
Unfortunately #6 workaround does not help with the case when only messages change (i.e. after downloading new version from server), but locale stays the same.
This change introduces an option to provide own selector setting the key. There isn't one-size-fits-all solution, as every project has own messages structure, so it cannot be fixed for all.
In my case the solution is as simple as: