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
Trying to make everything work, but have some problems.
I have allowMultiloading set to true and my loadPath to /locales/resources.json?lng={{lng}}&ns={{ns}}. I also have multiple namespaces ns set (array with names). So plugin does load all namespaces, but does so in multiple requests. Not sure what I am missing. Trying many different options, with no success. What works though is if I set ns to string, instead of array, like so: ns1+ns2.
Not related to first issue, but I have problems using the loaded translations. Not sure if this is related to your plugin or not. Loaded translations look like this: { "en": { "ns1": { "key": "Value" } } }. And so if I try to show this Value like this t('ns1:key') it will simply not work. The only way this works is by typing t('en.ns1.key'). What am I missing here?
The text was updated successfully, but these errors were encountered:
Hey,
Trying to make everything work, but have some problems.
I have
allowMultiloading
set to true and my loadPath to/locales/resources.json?lng={{lng}}&ns={{ns}}
. I also have multiple namespacesns
set (array with names). So plugin does load all namespaces, but does so in multiple requests. Not sure what I am missing. Trying many different options, with no success. What works though is if I setns
to string, instead of array, like so:ns1+ns2
.Not related to first issue, but I have problems using the loaded translations. Not sure if this is related to your plugin or not. Loaded translations look like this:
{ "en": { "ns1": { "key": "Value" } } }
. And so if I try to show this Value like thist('ns1:key')
it will simply not work. The only way this works is by typingt('en.ns1.key')
. What am I missing here?The text was updated successfully, but these errors were encountered: