localizing web form without setting values programmatically

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default localizing web form without setting values programmatically

    Hello

    I have to start an Asp.net project that involves i18n, so I was doing
    some reading on the subject. I'm not sure (and I *really* hope I'm
    wrong) but is it true, that there is no way to store localized values in
    resource files without assigning them programmatically? Which means: I
    can't just set a labels text as usual and change this value in a
    localized resource file which is being assigned dynamically regarding
    the regional settings?

    Having 50 pages with loads of controls that all have settings like
    <%=LocRM.GetString("txtWelcome")%>
    is a design- and administration-nightmare and a waste of the built-in
    i18n-support...


    :-(


    Thanks for your advice

    Philipp

    Philipp Sumi Guest

  2. Similar Questions and Discussions

    1. Programmatically setting 100% width
      Is there a way to set a width of 100% for dynamically created components? ...
    2. Programmatically setting the Printing Preferences of Adobe PDF
      Hi, I use Adobe Acrobat v6.01 Professional. I am trying to set the printing preferences via VB Code, "View Adobe PDF results" and "Ask to...
    3. Setting Values in Form for Object
      I would like to pre-set input form values in a custom object. For example: 1. I created an object that inserts the following HTML code fragment:...
    4. Setting target of hyperlinkcolumn programmatically
      I am having trouble determining if I can set the target property of a hyperlinkcolumn based on the contents of field in a returned SQL query that is...
    5. Problem in getting DataGird Coulmn Values if Datagrid is created Programmatically
      hi I am Creating Datgrid Programmatically. looking at the code provided in http://www.dotnetbips.com/displayarticle.aspx?id=66 The example...
  3. #2

    Default Re: localizing web form without setting values programmatically

    Hi,

    well, you can use the normal way (ie. <asp:label id="..." text="MyText"
    ..../> and then overwrite it with LabelName.Text =
    MyLocRM.GetString("lblMyLabel"). Still this is a lot of work. My approach
    was to build it as I normally would and then get a temp to do the RM
    plumbing :) - Worked pretty well and you still can use the WYSIWYG editor if
    you really have to. Other than that I wish that MS would do another version
    of this one here, which sounds very promising, but has it's own problems:

    [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/entloctoolkit.asp[/url]

    Best regards,

    Marc Höppner
    NeoGeo

    "Philipp Sumi" <sumip@freesurf.spam.ch> wrote in message
    news:eG3PTuGUDHA.3188@tk2msftngp13.phx.gbl...
    > Hello
    >
    > I have to start an Asp.net project that involves i18n, so I was doing
    > some reading on the subject. I'm not sure (and I *really* hope I'm
    > wrong) but is it true, that there is no way to store localized values in
    > resource files without assigning them programmatically? Which means: I
    > can't just set a labels text as usual and change this value in a
    > localized resource file which is being assigned dynamically regarding
    > the regional settings?
    >
    > Having 50 pages with loads of controls that all have settings like
    > <%=LocRM.GetString("txtWelcome")%>
    > is a design- and administration-nightmare and a waste of the built-in
    > i18n-support...
    >
    >
    > :-(
    >
    >
    > Thanks for your advice
    >
    > Philipp
    >

    Marc Hoeppner Guest

  4. #3

    Default Re: localizing web form without setting values programmatically

    Hello John, Karl and Marc

    Thanks for the fast reply! I'll evaluate the Localization Toolkit which
    sounds promising. Furthermore, I discovered a localization component
    that provides the functionality I was missing. Unfortunately, it's
    commercial but it's a fallback if the toolkit does not meet my requirements:

    [url]http://www.winformreports.co.uk/features_loc.htm[/url]

    Thank you very much for your inputs :-)

    Philipp

    Philipp Sumi Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139