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
Looks like the loadPath only accepts string or lookup function and the interpolator only populates language and namespace option. There seems not to be a way to match files in subdirectory via regex. I'm wondering how to elegantly handle look up in subdirectories since I would like to organize my translation files into subdirectories rather than putting them all into one big directory.
The text was updated successfully, but these errors were encountered:
We personally use /locales/{{lng}}/{{ns}}.json -> everything outside that can be done using the function which gets lng, ns -> every other structure you need to get yourself
Looks like the loadPath only accepts string or lookup function and the interpolator only populates language and namespace option. There seems not to be a way to match files in subdirectory via regex. I'm wondering how to elegantly handle look up in subdirectories since I would like to organize my translation files into subdirectories rather than putting them all into one big directory.
The text was updated successfully, but these errors were encountered: