Jump to content

Cannot translate categories


Natazcha

Recommended Posts

Running Prestashop version 1.7.8.1 and PHP 7.4.26 (Also tried 7.3 and 7.2) on a fresh install, the dropdown box to select language or the buttons to switch languages for the description when editing categories are completely unresponsive and stay in English no matter what. The language dropdowns work on all other pages of the Prestashop interface. Manually editing the translation strings from a database manager also works fine.

Chrome console says the following when opening the category management page: (themes/new-theme doesn't exist on the server?)

Quote

main.bundle.js:253 jQuery.Deferred exception: Cannot read properties of undefined (reading 'initComponents') TypeError: Cannot read properties of undefined (reading 'initComponents')
    at HTMLDocument.<anonymous> (XXXX/themes/new-theme/public/category.bundle.js?1.7.8.1:2:157028)
    at u (XXXX/themes/new-theme/public/main.bundle.js:253:92628)
    at d (XXXX/themes/new-theme/public/main.bundle.js:253:92931) undefined
De.Deferred.exceptionHook @ main.bundle.js:253
d @ main.bundle.js:253
setTimeout (async)
(anonymous) @ main.bundle.js:253
u @ main.bundle.js:253
fireWith @ main.bundle.js:253
fire @ main.bundle.js:253
u @ main.bundle.js:253
fireWith @ main.bundle.js:253
ready @ main.bundle.js:253
_ @ main.bundle.js:253
main.bundle.js:253 Uncaught TypeError: Cannot read properties of undefined (reading 'initComponents')
    at HTMLDocument.<anonymous> (index.js:74)
    at u (main.bundle.js:253)
    at d (main.bundle.js:253)
(anonymous) @ index.js:74
u @ main.bundle.js:253
d @ main.bundle.js:253
setTimeout (async)
De.readyException @ main.bundle.js:253
(anonymous) @ main.bundle.js:253
u @ main.bundle.js:253
d @ main.bundle.js:253
setTimeout (async)
(anonymous) @ main.bundle.js:253
u @ main.bundle.js:253
fireWith @ main.bundle.js:253
fire @ main.bundle.js:253
u @ main.bundle.js:253
fireWith @ main.bundle.js:253
d @ main.bundle.js:253
setTimeout (async)
(anonymous) @ main.bundle.js:253
u @ main.bundle.js:253
fireWith @ main.bundle.js:253
fire @ main.bundle.js:253
u @ main.bundle.js:253
fireWith @ main.bundle.js:253
ready @ main.bundle.js:253
_ @ main.bundle.js:253

 

  • Like 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...