Closed Tofandel closed 3 weeks ago
If I understand correctly this sounds like a feature that would resolve #2782, is that right?
Yeah that's actually a duplicate, the title of that issue is not very descriptive of the problem but I guess I'll close this one and continue the discussion there
Agreed the title is not very descriptive, I've updated it to something that more closely matches yours, hopefully it will help others find it too 🙏
Describe the feature
Usually to define parameters translation we use
setI18nParams({fr: {param: 'foo'})
, but what if we want to disable a locale for a specific page dynamically (for example because the backend said that the page is not yet translated)It seems doing
setI18nParams({fr: false)
could be a solution but currently with this it just acts like if the function was not even calledAdditional information
Final checks