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 / Windows Forms / WinForm General / March 2006

Tip: Looking for answers? Try searching our database.

Textfile based Localization

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Thomas Due - 16 Mar 2006 15:08 GMT
Hi,

Our current software uses text files for storing various languages. In
the near future we will be switching development platform to .NET 2.0.
We have been looking at the VS way of localization and decided that is
does not really become us to have compiled resources for each language.

We would really really like to continue using some form on textfile for
localization. The main reason for this, is that we want to be able to
add new languages, or change translations without having to recompile.

Are there any good tools on the marked (preferable open source) that
can handle this? Or will we have to create our own?

If we would have to create our own, what will we have to be cautious
about?

Ideas, hints, links?

Thank you in advance.

Signature

Thomas Due
Posted with XanaNews version 1.18.1.0

"If you are near the enemy, make him believe you are far from him.
If you are far from the enemy, make him believe you are near."
-- Sun-Tzu, The Art of War

Andy - 16 Mar 2006 17:52 GMT
I think you'd only have to recompile your satillite assemblies, not
your main assembly to change language translations.

I've built my own localization API in classic ASP once.  Its not
difficult, but it seems the .net way would be easier.
Thomas Due - 17 Mar 2006 07:41 GMT
> I think you'd only have to recompile your satillite assemblies, not
> your main assembly to change language translations.

Yes, that is my understanding as well, but I dont want to _have_ to
rebuild the satellite assemblies. I want my software supporters to be
able to localize on-the-fly if needs be.

> I've built my own localization API in classic ASP once.  Its not
> difficult, but it seems the .net way would be easier.

The .net way IS easy, very easy even, but it requires recompiling the
satellites, and than I dont want to do.

Signature

Thomas Due
Posted with XanaNews version 1.18.1.0

"Only sick music makes money today."
-- Friedrich Nietzsche

Andy - 17 Mar 2006 16:08 GMT
Well,

Its fairly easy to roll your own.  It ends up being very close to the
.Net way, except that when i rolled my own, the translations were
stored in a db, and we basicaly cached everything as we loaded it (for
peformance reasons, this was a web app).  We then had an admin site
where our translator could enter the localized version of the english
strings.  We had yet another tool to syncronize the translations in one
database to another database.

The syncing can be a pain, and depending on how you deploy, getting
update translates to your users may be a hassle also.  Localizing 'on
the fly' sounds like it'd be inherently dangerous, especially if you
don't have a good way to get translations back to the source.

HTH

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.