Closed elmanvebs closed 7 months ago
Possibly related: #2341 #5116 #4852
Yes same issue. Workaround in this comment. https://github.com/statamic/cms/issues/2341#issuecomment-741799811
Actually sorry that should already be fixed. What page are you getting that error on?
Oops again. I see the problem. 😄 We can get that sorted.
I thought https://github.com/statamic/cms/pull/5144 solved it, but it only fixed for when the word is in the navigation. If you have the word "Forms" on a page (or whatever the filename you created), it'll also throw the error.
There is this same issue for Email
on login. The workaround works.
@jasonvarga is the answer here to replace all __()
in the views folder with Statamic\trans()
?
Bug description
When you add a language file with the filename
forms
at/resources/lang/{lang}
it throws an error when viewing the blueprints pagecp/fields/blueprints
in CP.Error:
How to reproduce
Create a file with the name
forms
in lang folder.Logs
No response
Environment
Installation
Existing Laravel app
Antlers Parser
runtime (new)
Additional details
No response