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
Short description of what this feature will allow to do:
I don't know if it's even possible but it'd be awesome if EA could hook itself into the Translators extract command and export all the entity labels (either explicitly set or inferred by property name)
Example of how to use this feature
It would make translating the admin a lot easier since you don't have to go around and pick up all the translation keys.
The text was updated successfully, but these errors were encountered:
Yes, this would be a nice idea. I think we need this:
(1) Symfony should provide a mechanism for third-party bundles to add translations to the catalogs. I don't know if this already exists or not and if it provides all the features we'd need or not.
(2) If this mechanism exists, let's use it in this bundle to ease translating backends.
@KDederichs could you please check if (1) already exists in Symfony? Thanks!
From the looks of it the way to go here would be to implement a custom Extractor (https://github.com/symfony/translation/blob/7.2/Extractor/ExtractorInterface.php) and then use that to push all the messages into.
Tested it locally and it seems pretty straight forward to set up, just implement the interface and tag it like this:
Short description of what this feature will allow to do:
I don't know if it's even possible but it'd be awesome if EA could hook itself into the Translators extract command and export all the entity labels (either explicitly set or inferred by property name)
Example of how to use this feature
It would make translating the admin a lot easier since you don't have to go around and pick up all the translation keys.
The text was updated successfully, but these errors were encountered: