Hello bro,
i'm trying to use your solution but i got some errors like
this error comes from this block of code if (translationNotFound) {
translation = window._translations[window._locale]['json'][key]
? window._translations[window._locale]['json'][key]
: key
}
thanks this fixed the console error. Another problem i get window._translations undefined and con't understand what i make wrong is like is not passing window._translations from blade to JS. You have some advise?
specialize in creating UI designs and dynamic UX interactions, enjoy communication and negotiation, and have also completed internships in multimedia and web design where networking was a key value.
i used same package but i found a lot of issus and i have updated the code many times to work for me. and i dont know how to explain my method to you unless i see your code and the error your are having
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hello bro,
i'm trying to use your solution but i got some errors like
this error comes from this block of code
if (translationNotFound) {
translation = window._translations[window._locale]['json'][key]
? window._translations[window._locale]['json'][key]
: key
}
i have the same error how did you solved?
thanks
you should just check if
window._translations
is set or notdev-to-uploads.s3.amazonaws.com/i/...
thanks this fixed the console error. Another problem i get window._translations undefined and con't understand what i make wrong is like is not passing window._translations from blade to JS. You have some advise?
did you put this in app.blade.php, but sometimes the
{!! cache('translations') !!}
is not returning any data so thewindow._translations
is nullDo you have any updates so far? I've struggling with that particular issue and it's occur totally random. I would very appreciate if so!
i used same package but i found a lot of issus and i have updated the code many times to work for me. and i dont know how to explain my method to you unless i see your code and the error your are having