We are seeing some strange language related issues in one of our Umbraco 4.7.1.1 sites. I'm using Chrome.
In the backend, one user had the Language set to "German" and wanted it changed to "English (uk)". After doing this, the user still sees the German language dotted around. E.g. when logging out he gets the "Sind Sie Sicher?" message. He also sees german in the section headings (media, content, etc), as well as page titles.
I tested this by logging in with his account and saw the same issues. Now, when I log in as myself (not using his account) I see the "Sind Sie Sicher?" message. Very strange, especially considering my account has always been English (uk).
I have tried clearing out my temporary internet files, but still see the problems. I have even logged in using another browser (IE10), and that too says "Sind Sie Sicher?".
Is there some caching issue on the server side that I'm not aware of?
Have you tried logging in from another machine? One that has not been logged into the backoffice before? If not could you give it a shot and report back if you still see the german translation? If not then it might be a cookie/session issue perhaps?
I've just tried on another PC. Still says Sind Sie Sicher when I click the Logout button in the backend. So I assume it must be something that has been cached or saved on the server. Any ideas? e.g. is there a backend cache that can be cleared?
Hmm, ok - Could you try incrementing the /config/ClientDependency.config files version attribute and see if that helps - Remember to recycle the app pool as well?
If not then try deleteting the temp files in /TEMP/ClientDependency and then increment the version number as mentioned above again - And recycle the app pool once again.
I followed your first suggestion (version number increment and app pool recycle), and the language is now correctly displaying for me. I am asking my customer to test from his account, but it certainly looks promising. If there are still problems I will respond back on this post.
Can you tell me what incrementing the ClientDependency.config version does? And what is the difference is between justs incrementing and recycling compared with first deleting the temp files in TEMP/ClientDependency?
Are these the first steps that should be taken to attempt clear backend cache related issues?
For anyone interested, I found this link on the ClientDependency versioning: https://github.com/Shazwazza/ClientDependency/wiki/Versioning. Changing the version causes a refresh of the backend cache on the server, as well as causing the client browser cache to refresh. A great bit of knowledge!
Happy that it solved your issue - Sorry that I was too slow to reply before I could tell you what it did - But hey you figured it out by yourself anyway :)
This is always a neat trick to pull out of the sleeve when things act weird. Was a bit uncertain whether it would work though since it's an old Umbraco version you're using and things have changed quite a bit since that version was released.
Backend User Language Issues
We are seeing some strange language related issues in one of our Umbraco 4.7.1.1 sites. I'm using Chrome.
In the backend, one user had the Language set to "German" and wanted it changed to "English (uk)". After doing this, the user still sees the German language dotted around. E.g. when logging out he gets the "Sind Sie Sicher?" message. He also sees german in the section headings (media, content, etc), as well as page titles.
I tested this by logging in with his account and saw the same issues. Now, when I log in as myself (not using his account) I see the "Sind Sie Sicher?" message. Very strange, especially considering my account has always been English (uk).
I have tried clearing out my temporary internet files, but still see the problems. I have even logged in using another browser (IE10), and that too says "Sind Sie Sicher?".
Is there some caching issue on the server side that I'm not aware of?
Can anyone provide any input on this? Even an explanation as to whether it's possible to clear the cache used by the backend, and if so, how
Hi Mark
It's a strange issue indeed.
Have you tried logging in from another machine? One that has not been logged into the backoffice before? If not could you give it a shot and report back if you still see the german translation? If not then it might be a cookie/session issue perhaps?
/Jan
Hi Jan,
I've just tried on another PC. Still says Sind Sie Sicher when I click the Logout button in the backend. So I assume it must be something that has been cached or saved on the server. Any ideas? e.g. is there a backend cache that can be cleared?
Thanks,
Mark
I've found that the text "Sind Sie sicher?" is present in one of the DependencyHandler.axd files, which I assume is generated on the server
Hi Mark
Hmm, ok - Could you try incrementing the /config/ClientDependency.config files version attribute and see if that helps - Remember to recycle the app pool as well?
If not then try deleteting the temp files in /TEMP/ClientDependency and then increment the version number as mentioned above again - And recycle the app pool once again.
/Jan
Hi Jan,
I followed your first suggestion (version number increment and app pool recycle), and the language is now correctly displaying for me. I am asking my customer to test from his account, but it certainly looks promising. If there are still problems I will respond back on this post.
Can you tell me what incrementing the ClientDependency.config version does? And what is the difference is between justs incrementing and recycling compared with first deleting the temp files in TEMP/ClientDependency?
Are these the first steps that should be taken to attempt clear backend cache related issues?
Many thanks,
Mark
For anyone interested, I found this link on the ClientDependency versioning: https://github.com/Shazwazza/ClientDependency/wiki/Versioning. Changing the version causes a refresh of the backend cache on the server, as well as causing the client browser cache to refresh. A great bit of knowledge!
Hi Mark
Happy that it solved your issue - Sorry that I was too slow to reply before I could tell you what it did - But hey you figured it out by yourself anyway :)
This is always a neat trick to pull out of the sleeve when things act weird. Was a bit uncertain whether it would work though since it's an old Umbraco version you're using and things have changed quite a bit since that version was released.
/Jan
is working on a reply...