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
@phlax are we reading the FS when we init a language? Even though we've loaded files in Templates lang? Ouch.
There are cases where you might not have a template language. So I'd say you must have a templates language first if you want the TP to be initialised from templates. But not having a template language shouldn't block creating a TP, as you might load it from external files without needing templates.
There are cases where you might not have a template language. So I'd say you must have a templates language first if you want the TP to be initialised from templates. But not having a template language shouldn't block creating a TP, as you might load it from external files without needing templates.
Adding a new TP from the UI will benefit from this, since it already requires the templates files to exist on disk then creates new TP files on disk and then imports them to the DB.
We should use the templates/src language from the db.
The only implication of this is that it means that template/src langs must be created first (this may happen already)
The text was updated successfully, but these errors were encountered: