help with localization

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Paul M

    #1

    help with localization

    Hi there,

    can anyone help me with this one.... i have a page which is in normal
    english format, but when i wanna change it to Russian format text, i set the
    Culture code, but it still remains the same. Does this mean that every bit
    of text i need to convert every label on my screens in order for them to
    show or is there an easier way to this?

    thanks for anybody's help.

    PM


  • Joe Glover

    #2
    Re: help with localization

    Hi Paul

    I'm afraid that setting the page Culture and uiCulture properties only serve
    to set the executing threads CurrentCulture and CurrentUICultur e properties
    respectively. Setting the Culture to Russian will at least ensure that
    things like dates & currencies will display correctly, and will affect some
    string comparisons and the rendering of certain server controls (for
    example, try a Calendar control). Setting the uiCulture will cause any
    resource lookups that you make go to the correct resource file, but there's
    no automatic generation of resource files as you may be used to with Windows
    Forms programming, and no automatic retrieval of the appropriate strings. As
    you guessed, you have to customize every label yourself.

    If you don't mind me plugging a company product, you might like to have a
    look at Localizer; its a component which adds design time localization
    support to VS WebForms:



    the getting started guide has some info on where resource files should live
    and what they should be named:



    There is also an Enterprise Localization Toolkit available from MS; I
    haven't used it, but I've heard good things about it:

    http://msdn.microsoft.com/library/de...loctoolkit.asp

    Regards
    Joe

    "Paul M" <milcev@hotmail .com> wrote in message
    news:OhaALqTRDH A.2676@TK2MSFTN GP10.phx.gbl...[color=blue]
    > Hi there,
    >
    > can anyone help me with this one.... i have a page which is in normal
    > english format, but when i wanna change it to Russian format text, i set[/color]
    the[color=blue]
    > Culture code, but it still remains the same. Does this mean that every bit
    > of text i need to convert every label on my screens in order for them to
    > show or is there an easier way to this?
    >
    > thanks for anybody's help.
    >
    > PM
    >
    >[/color]


    Comment

    • Paul M

      #3
      Re: help with localization

      Thanks for your reply.

      I have gone ahead and created 2 assembly resource files for the 2 languages,
      but the non-english language does not display the text in the russian format
      as i want. Am i missing out on something here?

      regards,
      Paul.

      "Joe Glover" <joe.nospamglov er@ntlworld.com > wrote in message
      news:rIxOa.46$p Q2.9424@newsfep 1-win.server.ntli .net...[color=blue]
      > Hi Paul
      >
      > I'm afraid that setting the page Culture and uiCulture properties only[/color]
      serve[color=blue]
      > to set the executing threads CurrentCulture and CurrentUICultur e[/color]
      properties[color=blue]
      > respectively. Setting the Culture to Russian will at least ensure that
      > things like dates & currencies will display correctly, and will affect[/color]
      some[color=blue]
      > string comparisons and the rendering of certain server controls (for
      > example, try a Calendar control). Setting the uiCulture will cause any
      > resource lookups that you make go to the correct resource file, but[/color]
      there's[color=blue]
      > no automatic generation of resource files as you may be used to with[/color]
      Windows[color=blue]
      > Forms programming, and no automatic retrieval of the appropriate strings.[/color]
      As[color=blue]
      > you guessed, you have to customize every label yourself.
      >
      > If you don't mind me plugging a company product, you might like to have a
      > look at Localizer; its a component which adds design time localization
      > support to VS WebForms:
      >
      > http://www.winformreports.co.uk/features_loc.htm
      >
      > the getting started guide has some info on where resource files should[/color]
      live[color=blue]
      > and what they should be named:
      >
      > http://www.winformreports.co.uk/loca...ntro_howto.htm
      >
      > There is also an Enterprise Localization Toolkit available from MS; I
      > haven't used it, but I've heard good things about it:
      >
      >[/color]
      http://msdn.microsoft.com/library/de...us/dnaspp/html
      /entloctoolkit.a sp[color=blue]
      >
      > Regards
      > Joe
      >
      > "Paul M" <milcev@hotmail .com> wrote in message
      > news:OhaALqTRDH A.2676@TK2MSFTN GP10.phx.gbl...[color=green]
      > > Hi there,
      > >
      > > can anyone help me with this one.... i have a page which is in normal
      > > english format, but when i wanna change it to Russian format text, i set[/color]
      > the[color=green]
      > > Culture code, but it still remains the same. Does this mean that every[/color][/color]
      bit[color=blue][color=green]
      > > of text i need to convert every label on my screens in order for them to
      > > show or is there an easier way to this?
      > >
      > > thanks for anybody's help.
      > >
      > > PM
      > >
      > >[/color]
      >
      >[/color]


      Comment

      Working...