We use your great tool on one of our websites and it seems to have stopped working.
It works fine on dev but throws JS errors on live. I have tried the following but no dice, maybe you can suggest something else? Admittedly I hadnt tested this on live since we upgraded to v11 but as it was working on dev it didn't come to mind!
I have tried deleting all the translation manager folders and replacing them with the ones from dev
Verified the licence file exists
Delete smidge folder and restart
Set the following in appsettings and restarted:
"Umbraco": {
"CMS": {
"RuntimeMinification": {
"UseInMemoryCache": false,
"CacheBuster": "Version"
},
The errors are:
When trying to view the 'pending items' page:
umbraco-backoffice-js.js.v13cdc35a83017fae8ca81b6415c149dcc8827b51:147 Error: [$compile:multidir] http://errors.angularjs.org/1.8.3/$compile/multidir?p0=translateItemListView&p1=&p2=translateItemListView&p3=&p4=template&p5=%3Ctranslate-item-list-view%20culture%3D%22vm.cultureName%22%20status%3D%22vm.status%22%20selectable%3D%22true%22%20allow-remove%3D%22true%22%20allow-remove-all%3D%22true%22%20selected-items%3D%22vm.createOptions.items%22%20show-sets%3D%22true%22%3E
at umbraco-backoffice-js.js.v13cdc35a83017fae8ca81b6415c149dcc8827b51:25:168
Send to translation tab:
umbraco-backoffice-js.js.v13cdc35a83017fae8ca81b6415c149dcc8827b51:147 Error: [$compile:multidir] http://errors.angularjs.org/1.8.3/$compile/multidir?p0=translateLanguagePicker&p1=&p2=translateLanguagePicker&p3=&p4=template&p5=%3Ctranslate-language-picker%20picked%3D%22vm.picked%22%20sets%3D%22vm.sets%22%3E
at umbraco-backoffice-js.js.v13cdc35a83017fae8ca81b6415c149dcc8827b51:25:168
umbraco-backoffice-js.js.v13cdc35a83017fae8ca81b6415c149dcc8827b51:147 Error: [$compile:multidir] http://errors.angularjs.org/1.8.3/$compile/multidir?p0=translateLicenceBanner&p1=&p2=translateLicenceBanner&p3=&p4=template&p5=%3Ctranslate-licence-banner%3E
at umbraco-backoffice-js.js.v13cdc35a83017fae8ca81b6415c149dcc8827b51:25:168
Never see this before, maybe try adding a version to the appsettings too (as this will change the name of the generated js file and break browser caches too).
We have recently taken over a project, where we upgraded Umbraco from v9 to v10 - and then upgraded your module as well. The site is running un Umb. Cloud.
We have the same error as described above and we can solve it by deleting the files in appplugins. But when we deploy the files are added back to the appplugins and re-creates the error.
Translation Manager broken in backoffice
Hi Kevin,
We use your great tool on one of our websites and it seems to have stopped working. It works fine on dev but throws JS errors on live. I have tried the following but no dice, maybe you can suggest something else? Admittedly I hadnt tested this on live since we upgraded to v11 but as it was working on dev it didn't come to mind!
The errors are:
When trying to view the 'pending items' page: umbraco-backoffice-js.js.v13cdc35a83017fae8ca81b6415c149dcc8827b51:147 Error: [$compile:multidir] http://errors.angularjs.org/1.8.3/$compile/multidir?p0=translateItemListView&p1=&p2=translateItemListView&p3=&p4=template&p5=%3Ctranslate-item-list-view%20culture%3D%22vm.cultureName%22%20status%3D%22vm.status%22%20selectable%3D%22true%22%20allow-remove%3D%22true%22%20allow-remove-all%3D%22true%22%20selected-items%3D%22vm.createOptions.items%22%20show-sets%3D%22true%22%3E at umbraco-backoffice-js.js.v13cdc35a83017fae8ca81b6415c149dcc8827b51:25:168
Send to translation tab: umbraco-backoffice-js.js.v13cdc35a83017fae8ca81b6415c149dcc8827b51:147 Error: [$compile:multidir] http://errors.angularjs.org/1.8.3/$compile/multidir?p0=translateLanguagePicker&p1=&p2=translateLanguagePicker&p3=&p4=template&p5=%3Ctranslate-language-picker%20picked%3D%22vm.picked%22%20sets%3D%22vm.sets%22%3E at umbraco-backoffice-js.js.v13cdc35a83017fae8ca81b6415c149dcc8827b51:25:168
umbraco-backoffice-js.js.v13cdc35a83017fae8ca81b6415c149dcc8827b51:147 Error: [$compile:multidir] http://errors.angularjs.org/1.8.3/$compile/multidir?p0=translateLicenceBanner&p1=&p2=translateLicenceBanner&p3=&p4=template&p5=%3Ctranslate-licence-banner%3E at umbraco-backoffice-js.js.v13cdc35a83017fae8ca81b6415c149dcc8827b51:25:168
Thanks
Sam
Hi sam,
Never see this before, maybe try adding a version to the appsettings too (as this will change the name of the generated js file and break browser caches too).
From the docs ( https://docs.umbraco.com/umbraco-cms/reference/configuration/runtimeminificationsettings#manually-changing-the-cache-buster-version )
That didn't help unfortunately, same errors. I'm running with browser dev tools open too and cache is disabled.
Ok,
So very quick google,
compile/multidir
is a multiple directive thing.When you upgrade from v9 to v11 you need to delete the translation manager files in the
app_plugins
folder.the main files are coming from an RCL.
On a published site these end up in
wwwroot/app_plugins
and the files in/app_plugins
should be removed.on a site run development, the files do not appear in your project they are served from the nuget cache.
Hi Kevin,
We have recently taken over a project, where we upgraded Umbraco from v9 to v10 - and then upgraded your module as well. The site is running un Umb. Cloud.
We have the same error as described above and we can solve it by deleting the files in appplugins. But when we deploy the files are added back to the appplugins and re-creates the error.
Any suggestions on how to fix it?
Hi,
I am not 100% sure from a Umbraco Cloud perspective.
but i would check what files are in the source control. and that there are no translation manager
/App_Plugins
files in there ?I would guess Cloud is re-adding the files because it thinks they are in the source .
Ah I was reading the same page but that didn't occur to me, d'oh. Makes sense. Thanks Kevin, all working now :)
is working on a reply...