Globalisation

Last post 09-13-2009 9:20 AM by junaid_arif. 2 replies.

Sort Posts:

  • Globalisation

    09-13-2009, 8:30 AM
    • Member
      1 point Member
    • imranwahabit
    • Member since 06-15-2009, 8:08 AM
    • Posts 20

    hello sir i am working on globalization i am having resx files in globalization folder by name

    1>Resource123.ar-Ar.resx

    2>Resource123.en-EN.resx

    3>Resource123.resx

    but when i am running the program i am getting dis error

    -->The namespace 'Resources' already contains a defination for 'Resource123'

    n when i am clicking the error message is showing me like this

    -->

    [

    [

    [

     

     

     

     

     

     

    [

     

    }

     

    global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")]global::System.Diagnostics.DebuggerNonUserCodeAttribute()]global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]public class Resource123 {private static global::System.Resources.ResourceManager resourceMan;private static global::System.Globalization.CultureInfo resourceCulture;global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]internal Resource123() {

    so can anyone of u let me how to solve this error

    n the labels which i have taken they are also not appearing in the aspx.vb file

    actually when i am trying to set the labelsid there are not comming

     

    ur can post the reply on my id also:imranwahabit@gmail.com

     

     

     

    muhammad imran
  • Re: Globalisation

    09-13-2009, 9:15 AM
    • Participant
      1,042 point Participant
    • junaid_arif
    • Member since 05-22-2008, 1:18 AM
    • Islamabad
    • Posts 194

    your file names are not quite right


    use


    1>Resource123.ar-SA.resx

    2>Resource123.en-US.resx

    3>Resource123.resx


    Regards,

    Junaid Arif
    Software Engineer
    Specializing In Microsoft Solutions
  • Re: Globalisation

    09-13-2009, 9:20 AM
    Answer
    • Participant
      1,042 point Participant
    • junaid_arif
    • Member since 05-22-2008, 1:18 AM
    • Islamabad
    • Posts 194

    Following is the pattern for naming resourse file


  • For global resource files:

    name.language.resx (Resource123.ar.resx)

    OR

    name.language-culture.resx (Resource123.ar-SA.resx) (SA for Saudi Arabia)

  • Regards,

    Junaid Arif
    Software Engineer
    Specializing In Microsoft Solutions
Page 1 of 1 (3 items)