Multilanguage

  • Thread starter Thread starter Frank Landen
  • Start date Start date
F

Frank Landen

Hi NG,

I´ve wrote a really big application in vb6 and now, i´ve to implement a
multilanguage function in it. I´ve searched with google for a tool, which i
could use to do the localization without having so much work. I now the
resource-file.... ...but isnt there nothing else ?
It would be nice, when I could change the language at runtime, and not only
at program-start (p.e. multilizer)

I thought to put the translations into a database. But
isn´t there a tool, that give me all strings from a project ? p.e. like
this:

1. Collect a list from all strings in a project
2. User choose which strings should be translated
3. The tool replace the selected strings with variables or functions (which
return the selected language string "langstring(language, stringnumber")
4. Output the selected strings from 2. in a list/table

I think it wouldn´t be very difficult to write an app for this, but the
tools i´ve found for localizations are to complex.

Frank
 
Frank,

For me is the globalization in dotNet for the standard settings as date and
other standard texts in my opinion great. However using texts with the RESX
is the most terrible part I ever seen. I have always to think on Lederer and
Burdick when I see it.

For me is using an XMLdataset file and test which table to use the way to go
at this moment. To test the culture you can use

\\\
Dim ILang As InputLanguage = InputLanguage.DefaultInputLanguage
dim lang as string = ILang.CurrentInputLanguage.Culture.Name.Substring(0,
2))
///
Or
\\\
Dim ci As New
Globalization.CultureInfo(Threading.Thread.CurrentThread.CurrentCulture.ToString)
Dim language As String = ci.Name.Substring(0, 2)
///

It gives back something as "EN-us", "NL-be" ect

You are than as well able to let others make external corrections on your
used language.

By instance I don't know any programmer who knows all languages of the EU or
even has the charactersets on his keyboard.

However just my opinion,

Cor
 
Back
Top