Localization is not detecting Italy language

Last post 09-09-2009 2:35 PM by Abdulla.AbdelHaq. 7 replies.

Sort Posts:

  • Localization is not detecting Italy language

    09-09-2009, 7:14 AM
    • Member
      6 point Member
    • niasi61
    • Member since 05-08-2008, 10:30 AM
    • Posts 14

    Hi guys im trying to study the theBeerHouse Asp.net 2.0 source code. but now im facing a problems with localization and Globalization. because i have change the language in the to Italy in the Browsers i have in my computer such as IE 7 and Mozilla Firefox 3 but the Italy language is not working. if any body can help me it will be great help for me please.
    help me soon as possible.

    thanks....

    regards
    -Saajidh-

  • Re: Localization is not detecting Italy language

    09-09-2009, 10:20 AM

    did you make the UICulutre and Culture of your page directive to be auto detect?

    Plz remember to click "Mark as Answer" if this helped you.

    Abdulla AbdelHaq    MCTS, MCPD

    - My Articles on ASP Alliance
    - My Weblogs
    - My Sessions on JorDev User Group

    "Experience is simply the name we give our mistakes"
  • Re: Localization is not detecting Italy language

    09-09-2009, 10:36 AM
    • Member
      6 point Member
    • niasi61
    • Member since 05-08-2008, 10:30 AM
    • Posts 14

    Yeah Abdulla i have tried what ur sugessted but im getting following errors, please help

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

  • Re: Localization is not detecting Italy language

    09-09-2009, 12:57 PM

    No do not write it in the Master, this attribute exist only in the Page Class.

    <%@ Page Language="VB" MasterPageFile="~/Template.master"AutoEventWireup="false"  CodeFile="Page1.aspx.vb" Inherits="Page1" Culture="auto" UICulture="auto"%>


    or you can add globalization section in the webconfig

     <globalization uiCulture="auto" culture="auto" />


    Plz remember to click "Mark as Answer" if this helped you.

    Abdulla AbdelHaq    MCTS, MCPD

    - My Articles on ASP Alliance
    - My Weblogs
    - My Sessions on JorDev User Group

    "Experience is simply the name we give our mistakes"
  • Re: Localization is not detecting Italy language

    09-09-2009, 1:01 PM

    I forgot to ask you this, did you generate an Italian resource file for your page ?

    read this article

    http://aspalliance.com/821

    Plz remember to click "Mark as Answer" if this helped you.

    Abdulla AbdelHaq    MCTS, MCPD

    - My Articles on ASP Alliance
    - My Weblogs
    - My Sessions on JorDev User Group

    "Experience is simply the name we give our mistakes"
  • Re: Localization is not detecting Italy language

    09-09-2009, 1:10 PM
    <html>
    <head>
    <title>@font-face example</title>
    <style>
    @font-face {font-family: "mildly-funky"; src:url("http://
    www.funky-fonts-are-us.com/newfonts/mild-funky"); font-style:
    normal, italic;}
    body {font-family: "mildly-funky", normal}
    h1 {font-family: "mildly-funky", italic}
    </style>
    </head>
    <body>
    <h1>This heading uses an Italic Mildly Funky Downloaded
    Font</h1>
    The text in the remaining body of the Web page uses the
    same font as in the header, but uses the normal (i.e.,
    unitalicized) version of it.
    </body>
    </html>
    this is a method to write your language like italy rusian punjabi gujrati & any each other language
    firstly upload your font to server then use a source in this feature all font are supported in any browser
    because by this feature browser temprery install a font for a page so you use it for all page
    please give me vote
    learn from videos


    Read our Blog
    Mark as answer if your problem is solved
  • Re: Localization is not detecting Italy language

    09-09-2009, 1:16 PM
    • Member
      6 point Member
    • niasi61
    • Member since 05-08-2008, 10:30 AM
    • Posts 14

    hey dude still it's gives me Headache i have copied this to web.config Cry but this Italy LocalResources Are not Detecting


  • Re: Localization is not detecting Italy language

    09-09-2009, 2:35 PM

    what is the name of your italy localresource file ? check the code behind maybe it is overriding the intilizeCulutre and it sets another culutre for the page.

    Plz remember to click "Mark as Answer" if this helped you.

    Abdulla AbdelHaq    MCTS, MCPD

    - My Articles on ASP Alliance
    - My Weblogs
    - My Sessions on JorDev User Group

    "Experience is simply the name we give our mistakes"
Page 1 of 1 (8 items)