Jump to content
Xtreme .Net Talk

Recommended Posts

Posted (edited)

I am following the video "How do I: Create a Multi-Lingual Site with Localization?" and I am following the section on global resource files. When I try to add the attributes Culture="auto:en-US" and UICulture="auto" I get the following errors:

Validation(ASP.Net): Attribute Culture is not a valid attribute of element Master

 

Further information:

I have named the resource file for the french language as Resource.fr-FR.resx, the file for the german lanaguage as Resource.de-DE.resx, while the file for the english language remains as Resource.resx

 

Any suggestions?

 

Mike55.

Edited by mike55

A Client refers to the person who incurs the development cost.

A Customer refers to the person that pays to use the product.

------

My software never has bugs. It just develops random features. (Mosabama vbforums.com)

  • Administrators
Posted

The master page itself doesn't have a culture - it uses the culture of the content page instead.

 

Also an identifier of fr-FR will only work for French French i.e. will fail for Canadian French, Belgium French etc. You are probably better just declaring it as fr as this will cover all french regions. Same goes for the German resources - just use de and it should work better.

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Posted

Worked like a charm, many thanks. All i need to do now is to look for support for the Irish language (Gaeilge). Can't see anything in the language options, but do see the option to add new languages.

 

Mike55.

A Client refers to the person who incurs the development cost.

A Customer refers to the person that pays to use the product.

------

My software never has bugs. It just develops random features. (Mosabama vbforums.com)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...