Custom Replacements #1929
crashmaster35
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm working in my project LaraErp, the original, now I'm working the modification of the stub files to create the new modules according on the way the module MODULES work, letting the modules install and work automatically, the thing is that I think is a great option that we can make a custom replacements, in this way I think I can make something like:
<?php return [ 'category' = '$UPPER_NAME$', ]
For example, or create a list of options and then ask for the option and replace there, or ask for a text, imagine that when I create a module, asked me for example:
Name in English:
Name in Spanish:
Category in English:
Category in Spanish:
Description in English:
Description in Spanish:
And generate the according lang files, now I can generate them but without a replacement because didn't exists a custom replacement.
Beta Was this translation helpful? Give feedback.
All reactions