You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 called
Additional information
Would you be willing to help implement this feature?
Could this feature be implemented as a module?
Final checks
Read the contribution guide (The contribution guideline of nuxt-modules/i18n is compliant with Nuxt too).
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
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
The text was updated successfully, but these errors were encountered: