These forums are read-only and considered to be an archive. Please use the new Community for future interaction and posts.

adding string keys to the en.xml

I must be missing something, in the old version i created a new administration toolbar button called quickuser that would allow users to fill in some information and automatically make a new user, a new rootfolder and assign to the user with correct permissions. The new toolbar button would just invoke the ModalDialog.show method just like license or settings does but pointing to my quickuser.aspx page to render.  In the new version adding a string to the en.xml file seems to be throwing me off ... When i do it the app crashes on login.aspx at the first Language.getstring attempt.

NullReferenceException was unhandled by user code:
Object reference not set to an instance of an object.

ideas?
William Burress 11/3/2010 7:51 AM
After looking at it for hours yesterday, i woke up today and figured it out ... string needs to be capitalized ... ^^
William Burress 11/4/2010 5:54 AM
Yes, XML files are case sensitive so the case of element names (it's <String> not <string>) and attribute names (it's key="" not Key="") should match this format:

    <String key="xxx">xxxxx</String>
Cem Alacayir 11/4/2010 9:09 AM