Feature to easily copy to other locale. #3342
jeroendesloovere
started this conversation in
Ideas / Feature Requests
Replies: 1 comment
-
Another solutionUsing |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Type
Problem description
Fork CMS is a "multi-language" CMS.
Sometimes you need to add another language to the CMS and want to have everything duplicated in the new language by using
bin/console forkcms:locale:enable
.Currently the following modules have "CopyToOtherLocale" methods/commands available:
But in other (custom) modules you have to create such feature yourself and you have to execute them yourself.
Expected behavior / Proposed solutions
What if this could be automated very easily by adding the following method in the module installer?!?
[Edited]: the above can be replaced by a
command bus handler
using a specific "symfony tag".In Fork CMS we are working towards a
Domain
-base structure withCommands
.I guess if we have a Core
CopyToOtherLocale
command that we can extend, things will be awesome.Seems like something that can be integrated easily.
Some thoughts?
Beta Was this translation helpful? Give feedback.
All reactions