Daniel M Posted March 6, 2021 Share Posted March 6, 2021 (edited) I develop few minor modules and want to release them under my company name. I was planning to use common prefix for all my modules, like a "mysoft_" (e.g. "mysoft_orders", "mysoft_shipments", "mysoft_customers"). Similar concept is used by PrestaShop modules that have "ps_" prefix (e.g. "ps_banner", "ps_mainmenu") Manual's Folder structure uses "<name_of_the_module>" and "<module_name>" that suggests that underscores are OK I first noticed a problem when reading Translation domain documentation. It says that "Nameofthemodule" part in the "Modules.Nameofthemodule.Specificpart" convention allows only [0-9] and [a-Z] characters. So far I solved that by using $this->trans('Hello', [], 'Modules.Mysoft_orders.Admin') (and it works). What's the real answer though? Can I use "mysoft_orders" module name and "Modules.Mysoft_orders.Admin"? Or do I have to rename (to less elegant for me) "mysoftorders", "mysoftshipments", "mysoftcustomers"? Edited March 6, 2021 by Daniel M (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now