Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jan 16, 2012 11:17 AM by jpweber
Jan 16, 2012 11:17 AM|LINK
I'm not a programmer -- I don't even know what a "class" is -- but I usually manage to get by, thanks to this website. And I'm learning! Still, I'm looking for any shortcut I can possibly take. I'm using Visual Studio 2010 and I'm in the process of adding
5 general languages (not dialects) to my company's website, following the MSDN tutorial on implicit and explicit localization
Is this wrong? I added a string to LocalizedText.resx and named it:
And then gave the string the value:
** I put my entire aboutus page's coding in here **
Then, on my aboutus.aspx page, where the coding used to be, somewhere in the asp:content, I put:
<asp:Label ID="Label2" runat="server" Text="<%$ Resources:LocalizedText, aboutus %>"></asp:Label>
I tried this, and everything looked fine. The idea is that I would just now translate, and put the exact same code, translated, into my LocalizedText.fr.resx for French, and so on. I would only need 1 or 2 strings per resx file!
1 problem was that the asp:HyperLinks I had in the aboutus page didn't show up as links. But the page, table formats, and layout was fine. I would need to find a way to get the hyperlinks working.
Am I going about this the wrong way? Do I just have to STOP the string at a hyperlink, and then start a new one? Is it normal to have 30 strings on an .resx page?
Thank you for your time in reading this, and any suggestions or guidance would be greatly appreciated!