Minor change to en.xml language file, now UI not working properly
Hi all,
I made a minor change to my en.xml language file. No when I right-click to create/edit in canvas/delete/move/copy/etc. The pop up isn't displaying. I switched my language to Italian, and it works. I changed my file back using a saved back up of the en.xml from a few days early. And it still won't work.
Any suggestions as to how I can get this working again with my en.xml?
Are you receiving a JavaScript error (check with Firebug, Google Chrome dev tools or the IE Dev Tools)? I don't know if it stores the language details encoded properly, so if you have a ' or a " it may have escaped the string causing the JavaScript to break.
- What change did you make? Specifically, you change what into what? - Can you revert the change? Does it start working again if you do? - Can you do "view source" on the working and non-working version? If so, throw the source into Winmerge to find the exact differences.
Before I paste stuff into Winmerge, I usually paste it into a new XML file in Visual Studio so that I can format it with CTRL+K, CTRL+D, that way. I know the indentation is exactly the same so that the diff actually makes sense.
Usually, this has something to do with self-closing html tags (like an empty div being closed like so <div id="content"/>, which really confuses the browser).
I replaced the file with an older version. When I was editing the XML I was doing so in Dreamweaver. Which was adding extra carriage returns and moving some key tags around.
I made the edit in simple text and the problem is fixed.
Sebastiaan, I checked the working XML and the non-working version in WinMerge and could see the problem was closing key tags when they shouldn't have been closed.
Thanks to all for your help, big thanks to Sebastiaan.
Minor change to en.xml language file, now UI not working properly
Hi all,
I made a minor change to my en.xml language file. No when I right-click to create/edit in canvas/delete/move/copy/etc. The pop up isn't displaying. I switched my language to Italian, and it works. I changed my file back using a saved back up of the en.xml from a few days early. And it still won't work.
Any suggestions as to how I can get this working again with my en.xml?
Cheers,
JV
Are you receiving a JavaScript error (check with Firebug, Google Chrome dev tools or the IE Dev Tools)? I don't know if it stores the language details encoded properly, so if you have a ' or a " it may have escaped the string causing the JavaScript to break.
Not receiving any JavaScript error's and can't see any ' or " that may have been removed break the JavaScript
Could you post the changes you've made ?
Did you inspect the request using Charlse, Fiddler or Firebug? That may have an indication of the problem.
Your "text-decoration: none;" is missing a semicolon, but I don't suppose that's it?
I've tried using Firebug to see any obvious errors but nothing is standing out. Including the semicolon didn't work either.
Alright:
- What change did you make? Specifically, you change what into what?
- Can you revert the change? Does it start working again if you do?
- Can you do "view source" on the working and non-working version? If so, throw the source into Winmerge to find the exact differences.
Before I paste stuff into Winmerge, I usually paste it into a new XML file in Visual Studio so that I can format it with CTRL+K, CTRL+D, that way. I know the indentation is exactly the same so that the diff actually makes sense.
Usually, this has something to do with self-closing html tags (like an empty div being closed like so <div id="content"/>, which really confuses the browser).
Success!
I replaced the file with an older version. When I was editing the XML I was doing so in Dreamweaver. Which was adding extra carriage returns and moving some key tags around.
I made the edit in simple text and the problem is fixed.
Sebastiaan, I checked the working XML and the non-working version in WinMerge and could see the problem was closing key tags when they shouldn't have been closed.
Thanks to all for your help, big thanks to Sebastiaan.
Cheers,
JV
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.