VS 2008 Multilingual Applications In .NET

Jun 22, 2010

I want to update my existing application(s) to support multiple languagescultures.

There are a lot of artilcles on Globalization and using cultureinfo class.

I haven't came accross any article which tells about the approach to carry out such conversions.

From what i can see is that I have to update all my interface text , consider culture specific number, date formats and string comparisons.

1. What is most recommendedused method for setting interface text to support multiple languages.

2. Are there any tools available which helps me carry out these changes

View 3 Replies


ADVERTISEMENT

VS 2008 - Multilingual Support - From VB6

Jul 16, 2010

I am currently working on converting an app from VB6 to VB.NET 2.0 - I am only using 2.0 to provide Win 2k compatibility, AFAIK, Win 2k can't run any framework newer then 2.0. Part of the conversion includes moving multilingual support over. In the VB6 version, we were storing the translated text in an Excel document - the xls could be passed to translators. A script in the xls file would dump the languages to individual text files and generate a LanguageRescource.rc file which was then compiled using RC.exe.

When the app started or the user selected a language, the resource file was read using:

Public Sub LoadLang(ByVal LangNum As Byte)
Dim bData() As Byte

[CODE]...

It was then split using vbNewLine as a delimiter and the lines assigned to the labels and to a public array for use in other places in the program (message boxes, log files, etc). Doing the same thing in .NET doesn't seem possible, or is rather convoluted. I have read many articles on globalisation, localisation, etc and it doesn't make a whole lot of sense to me. I am wanting to have the language files built in to the executable, not as dependencies. From what I can tell after reading all of this information is there are at least 2, if not more to do it.

1) Use form localisation. This would require changing all the captions and things for each language, this would in turn generate frmMain.<lang>.resx files.

The correct file would be loaded automatically on form/program startup and is hard to change at runtime if the user wishes. it would also cost me a fair bit of time to add every one of the 23 languages. It also would not satisfy my other requirements of message boxes and output to log files.

2) Make a resource file and store the strings in there, in a similar fashion to what I was doing in VB6. The problem is, how do I separate each languages strings? Each resx file only seems to be capable of storing on string table.

View 4 Replies

Developing An Multilingual Application In .net 2008?

Feb 22, 2011

I am developing an multilingual application in vb.net 2008.I had given a combobox for language selection when user select any language like marathi or hindi then all labels are change in the selected language but i am facing problem with textbox if i select any language it takes input from user in english only.I want when user select any language and enter data in textbox then he is able to enter data in the selected language.

View 2 Replies

2008 Multilingual String Display Adding Resources Err:MissingManifestResourcesException?

May 26, 2010

Developing a multilingual application in VB.Net 2008, Im able to add resources to forms and create a multilingual forms depending on uiculture. On reading Msdn on creating the multilingual string values for messagebox contents, have added the .resource file to the project files path as specified. There is no error on compilation but throws the MissingManifestResourceException error

Dim rm As ResourceManager
rm = ResourceManager.CreateFileBasedResourceManager("strFormResources", ".", Nothing)

[code].....

There is strFormResources.resources and strFormResources.fr-FR.resources in Resources of the project. I have searched for this error details but could not find a solution. What am i doing wrong or is there any other method for displaying multilingual strings in the messagebox.

View 2 Replies

How To Make Multilingual Apps

Sep 9, 2011

I'm trying to learn how to make multilingual apps. All defaults text for controls are saved in Form1.resx (Created automatically by VB.NET). I've set the Localizable property to True and Language to German(Austria). So far so good and VB.NET created the file Form1.de-AT.resx.Both resource file contain text for the different controls on the form. When I click on a particular button on the form, I want a custom message to be displayed according to the language setting/resource file in use.In both Form1.resx and Form1.de-AT.resx i've added another row for the custom message. How do I write the code so that when the button is clicked, it retrieves the custom message from the appropriate resource file? [code]Another thing, is Localization only for changing language or does it affect date and number formats also? Just asking because if a PC Regional Options settings is set to English(United Kingdom) and I do 5/2 the result is 2.5. If it's set to German(Austria) the result returned is 2,5But in VB.NET, if I use Thread. CurrentThread.CurrentUICulture = New CultureInfo("de-AT") (i.e German-Austria) the result returned for 5/2 is 2.5 and not 2,5

View 1 Replies

How To Write Multilingual Application

Apr 1, 2003

I need to write multilingual application (two languages). That's means labels, buttons and other objects on forms display in language which user can select. This n-tier (3-tier) application with central database on remote machine.

View 15 Replies

Multilingual Database Design In Sql?

Jan 11, 2012

Need a procedure in SQL for translate a datatable in English to Arabic .I am having English table which is having category ID ,Code etc upto 25 columns in the SQL Database.We want to translate this table to arabic when user opts for Arabic .So need a procedure to convert this English table to Arabic.Do i want to use google translator for this case . Then how will it is linked with database .

View 1 Replies

Using Resource Files For Multilingual Apps?

Dec 8, 2010

implmentation of using resource files for my UI, based of user preference.

Note: Ive never worked with resources files before for creating a multi-lingual app.

also this might be placed on the wrong forum board.

View 4 Replies

VS 2005 Design A Multilingual Form?

Oct 28, 2009

design a form with multilingual on interface depend on the user!

View 6 Replies

VS 2010 - Multilingual Using XML File (Not Globalization)

Jan 9, 2012

How to load external xml files for multilingual purposes?

View 4 Replies

Multilingual - Good Examples Of Support Different Languages

Jun 18, 2010

Trying find some good examples of support different languages in VB.NET. I've read sites on System.Globalization and resource files but none explain fully how to implement them in my application.

What happens to the form title, msgbox strings etc. How do I make these multilingual?

View 2 Replies

VS 2005 Multilingual Menubar Shortcut Keys?

Jul 8, 2010

We have localized our application menubar(Ex: Spanish language).The menubar menuitems have few shortcut keys i.e CTRL + N along with the text. The shortcut key is diplaying in some dummy character.We want the menuitem (Ex: New File CTRL+ N) text in local language and CTRL+ N should display as English

cMenuBar.Font = New Font(Configfontname, Configfontsize)
strMenuText = rsManager.GetString("cbmNewFold")
cbmNewFold = New CommandBarButton(ilToolbar20.Images.Item(0), strMenuText, New

[code].....

View 1 Replies

Controlling Outside Applications - Resize Multiple Applications And Send Keystrokes To Each One

Sep 12, 2011

I am working on a project that is used for key broadcasting. Don't worry nothing illegal, I'm making a multibox application for world of warcraft. However I am having trouble when it comes to launching and manipulating other applications from another.

[Code]...

View 2 Replies

Asp.net - Multilingual Website, Change The Asp CommandArgument Directive To Html To Switch Languages?

Jan 29, 2012

I have a multilingual company website (Visual Studio / VB / ASP.NET 4.0), and when, on the homepage, you click a flag, the text changes to that language and stays with you the entire session, after I made a class, BasePage.vb. Everything works great, but the URL never changes .... clients.aspx remains clients.aspx although the text DOES switch to Dutch.

It's been recommended by @Aritstos to make it so it looks like clients.aspx?lang=nl as opposed to just clients.aspx in another language.

Currently, my asp homepage hyperlinks that work look like this:

<asp:LinkButton ID="LinkButton7" runat="server"
CommandArgument="nl" OnClick="RequestLanguageChange_Click"
class="flagbutton">

[Code]....

View 1 Replies

Globalization - Multilingual Resource Files - Work Fine In Dev - Missing In Publish?

Jan 18, 2011

My click-once app has english and spanish content. In development, it runs fine with the two resource files I have - named multilingual.en-US.resx & multilingual.es-MX.resx accordingly. When I publish it looses these resources for referencing.The files reside in the root directory for the app.

View 1 Replies

VS 2008 Mobile Applications - Device Board Serial Number In Vb 2008

Oct 15, 2011

My some problem for vs 2008 in mobile applications How to learn mobile device board serial number in vb 2008?

View 2 Replies

Using Sound Like (MP3) In 2008 Applications?

Mar 8, 2010

I added a file with a format MP3 into a vb.net 2008 application and it was working and playing prefect, but after I deployed it and installed it onto the same machine (laptop), the file MP3 didn't play? Just there is no sound after installed the application. There is no error message appear. I have used this code to get the path:

Dim aPath As String = Path.GetDirectoryName(Assembly.GetExecutingAssembly.GetModules()(0).FullyQualifiedName)

View 12 Replies

VS 2008 - Running Applications Besides *.exe?

Feb 22, 2011

i am having trouble executing applications that havent got the prefix .exe here is the code tat i mostly found in the internet can someone help so it will be able to play with all applications tried to make it play with msi but it wont play.

[code]...

View 12 Replies

VS 2008 Communicating Between .NET Applications In The LAN?

Aug 8, 2011

I need to communicate between multiple applications (one server and multiple clients) in the LAN. While googling I came across 3 concepts (TCP/IP, Named Pipes and WCF). I also understand WCF needs lot of study for a starter like me. I need to have one (server) application running on one machine, the values generated by it should be displayed immediately on the other (client) application which will be running on multiple machines in a LAN. Also when the user pauses the process from the client application, it should pause the process on the server application.

View 2 Replies

VS 2008 Distribution Of VB Applications?

Mar 27, 2010

I've developed a small cost-tracking app with VB 2008. I was wondering what are the dependencies this app requires to install and run on other computers? I am not using any 3rd party or out-of-ordinary controls/DLLs.

View 5 Replies

VS 2008 Get The Name Of Applications .exe File?

Sep 3, 2009

How can i get the name of the applications file? Application.ProductName is only the product name. I want the name thats its called

View 2 Replies

VS 2008 Automatically Installing Applications?

Apr 27, 2010

I need to automate the installation of 3 different applications and I need a good starting point.

From what I've been reading, APIs seem like the way to go. But, if I can, I'd like to keep it to managed code.

I've checked with the manufacturers to see if they had any available APIs that could allow me to do the automation, but they have none

What do you all think is the best approach? Is there any .NET methods to assist me? Or do I have to go with APIs and unmanaged code?

View 6 Replies

VS 2008 Communication Between Separate Applications?

Dec 7, 2011

I'm thinking of creating some applications that will process search and storage requirements.

I want these to be separate applications - so that I could eventually move them to different servers for scalability.

What methods are available for me to have these app's communicate with each other?

View 4 Replies

VS 2008 Interacting With Other Windows Applications?

Jan 9, 2010

I didn't know where to post this question so I hope I put it in the right forum...I am not new to Visual Basic, however I am definitely not an advanced user. I would like to build an application that would allow me to interact with other programs on my computer. For example, if I were to build an application that could control iTunes, how would I go about this?

Or, I am looking to make an application that would allow me to do little things on my computer like disable my track pad if I have a mouse plugged in. How would I build something that could interact with windows (or iTunes) like that?

View 2 Replies

VS 2008 Launch And Close Applications?

May 3, 2010

I am trying to open and close application by clicking open and close buttons The application I am trying to open is .bat files and it contains 4 windows.(tftp32, Date_Time_Reader.exe, EthernetHPNA.exe and network535.exe)

Here is the code I used to open the applications System.Diagnostics.Process.Start("Start_MS-SC.bat.ink")

The above codes works fine and open all the windows but I cant close them.

View 2 Replies

VS 2008 Minimize Other Applications To Tray

Jan 22, 2010

I'm working on an app at the moment that requires a bunch of apps not made by me to run. The user has to be able to put some inputs into these other apps, but after that I'd like to have a button they can push on my app that minimizes all of these other apps under one icon I can choose. When the icon is clicked, these other apps would jump back up again.

View 11 Replies

VS 2008 One Array, Two Running Applications?

Nov 19, 2009

he lack of VB terminology in the following question - this is all fairly new to me. Anyway, on to my question.I have 2 seperate applications running and they both need to access the same array. Is it possible? If so, how?

View 2 Replies

VS 2008 : Killing External Console Applications?

May 19, 2009

I am developing an application which launch an external windows app, ei called APL.exe Also, this APL.exe launch two console utils, ie. named CON1.exe and CON2.exe I would like to know if is there any way, after APL.exe has died, of killing CON1.exe and CON2.exe, because there is a small possibility that they will not died completly after APL.exe has exited.Also there is another requirement. My final app version could be executed twice in the same machine, so there could be two instances of CON1.exe and CON2.exe, and because this I need a way to kill them not by process name, but knowing which of them has been launched by my current application instance.

View 5 Replies

VS 2008 Creating Web Applications In Visual Basic?

Nov 12, 2010

I know a bit of VB coding but I'm no professional. I'm currently about developing a web application in Visual Basic but there are a few requirements that I need to check before I begin.1. When creating a 'WPF Web Application' what type of code needs to be used?2. Is there a way of sending information from a web application to a database in Microsoft Access?

View 4 Replies

VS 2008 Get Installed Applications With File Path?

Mar 6, 2010

I Used this code for the getting installed applications

Sub ListPrograms()
Try
Dim rk As RegistryKey =

[Code]....

But, this code not returns the application filename, only return Application Name

How to get filename? e.g ("C:Program FilesMozilla Firefoxfirefox.exe")

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved