Monday, June 10, 2013

Multilingual markups in aspx pages

You can use the below tag to have a multilingual texts in aspx pages

Text="<%$Resources:testresourcefile, lbltest; %>"

Where testresourcefile is the default resource file name and lbltest is a key in all the resource files .

you got to have Resource files

  •  testresourcefile.resx
  • testresourcefile.en-US.resx
  • etc
in Mappaed foledr called "RESOURCES" in your visual studio project.

for other multinguals

Infopath forms
Visual Webparts
Site columns,Content types and lists

No comments:

Post a Comment