asp.net - Visual Studio doesn't recognize Resources object for GlobalResources -


i'm trying access globalresource object using following syntax:

resources.translation.key

however in code behind visual studio 2012 doesn't recognize resources object.

i created resx file named translation.en-resx in app_globalresources folder i've added using left click add on project name add folder.

i've create da single word inside file "name" , "nom".

i want know why visual studio doesn't recognize resources object?

update: noticed visual studio doesn't recognized object getlocalresourceobject well.

i using asp.net web project in visual studio using c# language.

try rename file translation.en-resx translation.en.resx. difference dot between en , resx ... , don't forget edit "custom tool namespace" property of resource file.

this link (asp.net mvc 3 internationalization) provides tutorial how use resources.


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

How to get multiresult with multicondition in Sql Server -