Working with APP_LocalResources
-
I am tryng to work with a page which shows different languages, so I follow the steps: 1) Create a Web Form 2) Add a Label to the Form and add a value for the Text Property 3) Go to Design mode and in the Tools Menu click on Generate Local Resource. 4) Go to APP_localresources directory and rename the resx file adding the en-US language reference (webpage.aspx.en-US.resx). 5) Create a resource file for other language (webpage.aspx.es-MX.resx). 6) endly I tried some ways to get the page in different languages - change the default language in IE to es-MX - override the initialize method and change the UICulture to es-MX But After two days tryng to see the werform in Spanish-Mexican I am not able of getting I only se the label text in it`s original USA text. Could you please tell me where is my mistake because I don't find any article which does some different of what I do but for me it doesn`t work. Best Regards
-
I am tryng to work with a page which shows different languages, so I follow the steps: 1) Create a Web Form 2) Add a Label to the Form and add a value for the Text Property 3) Go to Design mode and in the Tools Menu click on Generate Local Resource. 4) Go to APP_localresources directory and rename the resx file adding the en-US language reference (webpage.aspx.en-US.resx). 5) Create a resource file for other language (webpage.aspx.es-MX.resx). 6) endly I tried some ways to get the page in different languages - change the default language in IE to es-MX - override the initialize method and change the UICulture to es-MX But After two days tryng to see the werform in Spanish-Mexican I am not able of getting I only se the label text in it`s original USA text. Could you please tell me where is my mistake because I don't find any article which does some different of what I do but for me it doesn`t work. Best Regards
Have a look about APP_localresources here, if it helps: Beginner's Guide to ASP.NET Application Folder[^]
-
Have a look about APP_localresources here, if it helps: Beginner's Guide to ASP.NET Application Folder[^]
-
Before I post my message I saw that article and I have done all the steps enclosed in it, but in my application it doesn`t work
Did you had a look at these: Resources and Localization in ASP.NET 2.0[^] ASP.NET Web Page Resources Overview[^] Just have a look at them in case not done till now.
-
Did you had a look at these: Resources and Localization in ASP.NET 2.0[^] ASP.NET Web Page Resources Overview[^] Just have a look at them in case not done till now.
Finally I found the problem, I was using local resources for a page and I had Resource files for various languages, but not a resource file by default for the page, so I had Default.aspx.en-US.resx but not Default.aspx.resx, in the moment in which I create such file it started to work. Regards to everyone
-
Finally I found the problem, I was using local resources for a page and I had Resource files for various languages, but not a resource file by default for the page, so I had Default.aspx.en-US.resx but not Default.aspx.resx, in the moment in which I create such file it started to work. Regards to everyone
:thumbsup: