Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code52 Globalization code crashes when move cursor to switch the language label. #17

Open
jiapings opened this issue Aug 9, 2012 · 0 comments

Comments

@jiapings
Copy link

jiapings commented Aug 9, 2012

Hi,
I am following this instruction
http://code52.org/aspnet-internationalization/tutorial.html#add_the_code52i18n_nuget_package
to implement the Code52 internationalization code to my brand new MVC 4 application created from visual Studio 2012 RC MVC 4 template, after implemented the code posted on the above site, successed build without any problem. But when I run the application, and try to switch the language, and move the cursor on "English (United Kindom) [+]", the application crashes, the program stopped at this line of code with yellow color:
fx.elem.style[ fx.prop ] = (fx.prop === "width" || fx.prop === "height" ? Math.max(0, fx.now) : fx.now) + fx.unit;
in jquery-1.6.2.js
A Microsoft Visual Studio error window popup with this message:
Unhandeled exception at line 8564, column 5 in
http://localhost:64807/Scripts/jquery-1.6.2.js
0x800a017c - Invalid property value.

(Break and Continue buttons are available on the bottom the window).

My computer is using Window 7, and I am using Visul Studio 2012 RC, the probject was created from MVC 4 template.
By the way, in the instruction
http://code52.org/aspnet-internationalization/tutorial.html#add_the_code52i18n_nuget_package
In the Resource file creation section, it did not menton the creation of Resources folder, it just mentoned the creation of resources file of Language.resx, but I got compile time error, after I checked the code, I think I should create Resources folder to hold Language.resx and Language.fr.resx files. The build was successful after this Resources folder creation.

Please let me know if you need more info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant