internationalization-mvc4 icon indicating copy to clipboard operation
internationalization-mvc4 copied to clipboard

i18n/Code52.i18n.language.js 404 (Not Found)

Open rqx110 opened this issue 12 years ago • 6 comments

I follow your guide to create the project, but i found en error while running the project. The error message is: "GET http://localhost:7739/i18n/Code52.i18n.language.js 404 (Not Found) "

How to fix this problem?

rqx110 avatar Dec 27 '12 14:12 rqx110

I get the same error as well.

missraphie avatar Jan 15 '13 18:01 missraphie

I use it in vs2010 and .net 4, it is OK now. It looks like some version of Software occur the problem, may be IIS Express, Vs2012 and so on, I don't know! (sorry for my bad English)

rqx110 avatar Jan 16 '13 00:01 rqx110

  <add name="i18nScript" path="/i18n/Code52.i18n.language.js" verb="GET" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />

under the handlers section seemed to fix this for me

JakeGinnivan avatar Apr 09 '13 09:04 JakeGinnivan

Still now working for MVC 4 2012 IIS Express

ghost avatar Apr 30 '13 11:04 ghost

Change it to <script type="text/javascript" src="@Url.Content("~/Language/Language")"></script> and make sure you remove the bad Language files from /Resources that were created by the package. This now works in ASP.NET MVC5 as well.

kfrancis avatar Jun 28 '13 19:06 kfrancis

Kfrancis ,could you can give me code52.i18n.mvc4 source for ASP.NET MVC5 for me my email [email protected] ... Thanks ..

TopDuke avatar Oct 10 '13 17:10 TopDuke