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
Looking at the documentation and different issues I found, especially this one (#703 (comment)), it seems that using i18n.getFixedT should help specify a single namespace for a whole file.
To Reproduce
I managed to craft a minimal reproduction repo here
Expected behavior
What I'm looking for behind this feature of getFixedT is to be able to specify a t function for a whole file, without repeating the namespace name at each function usage.
For instance, with a file defining lots of metadata for my app:
🐛 Bug Report
Looking at the documentation and different issues I found, especially this one (#703 (comment)), it seems that using
i18n.getFixedT
should help specify a single namespace for a whole file.To Reproduce
I managed to craft a minimal reproduction repo here
Expected behavior
What I'm looking for behind this feature of
getFixedT
is to be able to specify at
function for a whole file, without repeating the namespace name at each function usage.For instance, with a file defining lots of metadata for my app:
I'd like the parser to extract a
myFileNameSpace.json
containing the keys specified. Instead, the keys are extracted in the default namespace.Your Environment
The text was updated successfully, but these errors were encountered: