robs2809 Posted May 3, 2020 Share Posted May 3, 2020 Hi I've changed some text of the module paypal and when i upgrade the addon the text are overwritten. The only solution is to change the text every time i upgrade the addon? I've try to override the language file of the addon to copy the language file it.php with index.php file in the folder shop/themes/myTheme/modules/paypal/translations but it don't work. It's possibile to override an addon language file? Thanks Robs Link to comment Share on other sites More sharing options...
JBW Posted May 4, 2020 Share Posted May 4, 2020 What file do you override? Why not using the translation system? Link to comment Share on other sites More sharing options...
robs2809 Posted May 4, 2020 Author Share Posted May 4, 2020 Because i need to change the text every time i upgrade the addon Link to comment Share on other sites More sharing options...
JBW Posted May 4, 2020 Share Posted May 4, 2020 Usually not if you translate it with the internal translation system. Link to comment Share on other sites More sharing options...
robs2809 Posted May 4, 2020 Author Share Posted May 4, 2020 Only an explanation, if i change a text through the PS translation system PS create a new language file into themes/mythema/modules/mymodules/translations or i've copy the folder of the modules under themes/mythema/modules/mymodules? I've to copy only the translations file? Or all the file of the addon? Thanks 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