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
I have decorated the translator service in my project with runtime translations, but the changes from there are not reflected in the output from this bundle.
When investigating the controller, I found out that instead of using the translator's services catalogue, the bundle has it's own TranslatorFinder which finds the files, then loads them through the loader to create the catalogue:
Wouldn't it be better and more elegant to get the catalogue from the translator service? It would also work in cases like mine where I'm loading translations into the catalog at runtime, and I don't have a loader.
I can implement this and submit a PR if there is no reason to not do it that way.
The text was updated successfully, but these errors were encountered:
I have decorated the translator service in my project with runtime translations, but the changes from there are not reflected in the output from this bundle.
When investigating the controller, I found out that instead of using the translator's services catalogue, the bundle has it's own TranslatorFinder which finds the files, then loads them through the loader to create the catalogue:
Wouldn't it be better and more elegant to get the catalogue from the translator service? It would also work in cases like mine where I'm loading translations into the catalog at runtime, and I don't have a loader.
I can implement this and submit a PR if there is no reason to not do it that way.
The text was updated successfully, but these errors were encountered: