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
Hello, I am using dashing on a project that requires lazy loading on translations. For example, I am trying to load "HI" using t ('.hello') in the dashboard view file.
Doing this returns this error: "Cannot use t(".hello") shortcut because path is not available"
I have tested lazy loading in my project in other controllers and views that I generated, and it works fine.
I am not sure what I can do to make lazy loading work with the Dashing views. It would be great if anyone can post some suggestions.
Thank you
Here is my en.yml file structure
en:
application:
hello: "HI"
testing:
create:
hello: "HI"
dashing:
dashboards:
sample:
hello: "HI"
The text was updated successfully, but these errors were encountered:
Hello, I am using dashing on a project that requires lazy loading on translations. For example, I am trying to load "HI" using t ('.hello') in the dashboard view file.
Doing this returns this error: "Cannot use t(".hello") shortcut because path is not available"
I have tested lazy loading in my project in other controllers and views that I generated, and it works fine.
I am not sure what I can do to make lazy loading work with the Dashing views. It would be great if anyone can post some suggestions.
Thank you
Here is my en.yml file structure
en:
application:
hello: "HI"
testing:
create:
hello: "HI"
dashing:
dashboards:
sample:
hello: "HI"
The text was updated successfully, but these errors were encountered: