Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / September 2007

Tip: Looking for answers? Try searching our database.

Need advice on localization

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Hans Artm - 27 Sep 2007 22:21 GMT
Hi,

We are developing a site that needs to be localized (english + spanish). The
site has a lot of "static" pages with a lot of text, and some dynamic pages.
We are unsure how to develop the static part. We could use a
localize/literal control and stick content in a resx-file - but it could be
several paragraphs in pure HTML and the text is not 100% static. It might
change a few times a year. Another way is to have two html pages and some
code to grap the right one based on culture, and stick the content in a
literal.This solution would need some output caching - but thats not a
problem.

What would your advice be - resx (can we get a good resx editor to handle
html?) or "our own solution"? Or do you have any alt. advice?

Thanks
Cowboy (Gregory A. Beamer) - 28 Sep 2007 05:22 GMT
Depending on the nature, a third option is to use a custom localization
provider and a database. Michele Bustamante (look ma, no accents - yeah, I
am being lazy) has a couple of great articles on MSDN on localization. They
are worth a look. One includes localization using a database.

If you go that route, you can use one of the free HTML editor controls to
allow your editors to maintain the text for pages that way.

I also like the HTML version, but would also consider a custom provider if
you go this route, as ASP.NET will automagically do the work for you. :-)

Signature

Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

*************************************************

| Think outside the box!

*************************************************
> Hi,
>
[quoted text clipped - 12 lines]
>
> Thanks
Hans Artm - 28 Sep 2007 07:29 GMT
Thanks,

HTML-version it is then - a custom provider seems to be overkill in this
project. Will look at MBs articles though

Thanks

> Depending on the nature, a third option is to use a custom localization
> provider and a database. Michele Bustamante (look ma, no accents - yeah, I
[quoted text clipped - 25 lines]
>>
>> Thanks

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.