Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

Hi,

I've created one module that overrides "Products" strings into "Vehicles", so that every "Product" string will be replaced by "Vehicle", on field strings, menuitems strings etc... And i'm facing an issue when installing/uninstalling the module, because some strings are not updating. For example in this menu item:

in my custom.product module:

<menuitem id="menu_custom_product" name="Products" .../>

in my custom.vehicle.product module, inheriting custom.product.module:

<menuitem id="custom_product.menu_custom_product" name="Vehicles" .../>

When i install my custom_vehicle_product module, the string Products is replaced by Vehicles as expected. But when I uninstall the module,  the string is still Vehicles instead of Products.

What am i doing wrong? Is there any other (and proper) way to do this? Maybe something related with the caché or translations?

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
4
lip 24
6766
2
lip 24
3655
4
cze 24
25422
3
kwi 24
2348
1
lut 24
3697