Standard Procedure To Build A Multi Language Application?
Apr 6, 2010
Is there any tool specific to build a multi language application? And in general what is the procedure to be followed when you want to create a multi language application??
If i want to create a vb.net windows application in multi-language (EnglishArabic). Is there any steps i need to do?I installed the Arabic at my windows XP and I am able to write the labels and the the textbox for example in arabic but is there a way for the controls to shifts automatically?
I'm building a multi language application, but in the application, there will be some data that will be retrieved from the db. In the db I have two tables (Access Groups, Teams) the two tables are related, there are some groups, that have teams, example (sellers can belong to team 1, team 2, team 3...). The data that will change it's the names for the access groups and the names for the teams. The only way that I can think to do this, is to have the different values for all the languages in the code, or some auxiliar file, and when loading the application I'll truncate the two tables and fill them with the current language values. By the way those values never change...
VS 2008 SP1. I cannot get my application to display in English, it always displays in French. I have an application that uses 2 languages. The default language is en-GB and the second language is French. For setting the text of the buttons and labels. I have set the localized property to true and changing the language to fr-FR on the form. So setting the default languages controls by choosing the default the language property, and then switching to French language to set the French controls. So I have the following files:
And for message boxes and other strings I have added these 2 resource files
formMain.Strings.resx formMain.Strings.fr-FR.resx
So if I want to switch to different languages I have changed the cultureInfo as follows:
If My.Settings.Default.Language = "fr-FR" Then Thread.CurrentThread.CurrentUICulture = New CultureInfo("fr-FR") Else Thread.CurrentThread.CurrentUICulture = New CultureInfo("en-GB") End If
And for string I use the following: MessageBox.Show(formMain_Strings.SameStringName)
I also an address book form that is a child of the formMain. Which I have used the same method. However, the address book works as normal, but the formMain never changes to the language I want. Even though tested by explictly setting the language to en-GB in the form constuctor before the inializeComponent() it will always default to French. Not sure why the address book (child) work correctly, the parent form (formMain) will always display in French, no matter if I have set this to en-GB. I am 100% that my method is correct using what I have show you above. I was thinkng about deleting the formMain and creating a new one. But that would mean doing everything again and would take too long.
What are the steps to build and deploy an application using VB2010?Were the deploy package and files are located after the deployment?My experience is deploying under the VB6 enviroment or Install Shield.
how to make a multi language desktop application in vb.net 2005. only a small desktop application in which i can change language according to countries.
I am developing heavy mathematical engineering windows application in VB.NET (VS2005) with MSAccess Db. This application has resource files in English, Spanish and German Language. I have same setup to run in all these 3environment Windows XPs. In English, calculations are perfect; but in Spanish ',' is treated as '.' and '.' is treated as ',' e.g. 12.24 in EN is '12,24' in Spanish. I somehow managed to do it by manually replacing ',' by '.' and vice versa; but this is now not manageable since program is expading like anything. I saved number in DB while installing. User selects his language and so I check, if its Spanish, I explicitly replace "." in labels and text in TextBox to ",".
I have an ActiveX object converted to be functional to WPF (standard procedure: Windows Forms control Library and then embedded into the WPF project using a Windows Forms Host controller). Everything works ok with a simple bug from time to time.I have some things in the Load Event that access the ActiveX controll properties and sometimes I get the error "Exception of type 'System.Windows.Forms.AxHost+InvalidActiveXStateException' was thrown."I guess this happens because the control didn't load before I'm trying to access the properties. That's why I put my properties on a DispatcherTimer with the interval 2 seconds in order to execute them later but I get the same error.
I would like to get some advise from all of you. I created a program setup using standard procedure(adding new project.. setup and deployment, setup project). When I ran the setup and installed the program in computer, It's working. Then I decided to amend certain form in the program. I right click at solution"my program name" and click rebuild solution. then i try to run again the setup, there is nothing happen after that(It remain like before amendment). Did I miss anything here? I have never used this method before and this is my first time using it.
I have a question about creating a multi-language application and the use of resource files. I will explain what I have done and what I would like the final product to be like.I am doing this in VB.Net and using Visual Studio 2008 After creating a new project, I added a resource file to the project (Add -> New Item, Selected Resource File, named it Resource1.resx).
I then double clicked the resource file and was able to add some names and values. For example,
Name - lblFirstName, value - John Name - lblLastName, value - Smith
On my form, I have 2 labels: FirstName, and LastName
If I run this code, it works fine. John and Smith are displayed on the labels. Now for my question. Say instead of first and last name the labels (buttons, menu items, etc.) were actually words that would be different in different languages. What I would like is to have something like
EnglishText.resx SpanishText.resx GermanText.resx
Each resource file would contain the same names, just different values. Depending on what language was selected, decided by the user (from a menu), how can I get the matching resource file to be used.
Basically what I want would be FirstName.Text = My.Resources.<Language Specific Resource File>.lblFirstName
Is something like this possible? Is this an acceptable approach? Is there a better way of doing this? I try to check often to see if there are follow up questions or if more information needs to be provided.
I am a Network Administrator in the Army so programming is not my strong area. I have been messing with Batch files and WMI, just recently i started VB Scripts (VERY BASIC) like adding an input box to set computer name, scan network for computer name on domain, return wmi info for that remote computer etc... I know there are programs out there that can do all of this, however the Army will only allow certain approved programs to be installed on government workstations, i have been using .Bat files to gather info which is fine, however it is very time consuming when you have entire subnets with computers, networked printers, etc to place into a spreadhseet for higher headquarters tracking not to mention the over 20 columns of required data to track for each computer. I have VB 2010 Express, working on a Windows Form Application Project. Goal is to interface my VB Script (written with notepad) with a GUI that will generate an internal spreadsheet on the form window in a datagridview. So far i have the basic window and i have my gridview with my column headers set. How do i get the data into the columns and rows accordingly.
Application Basic: Execute Program, in main window select button (Scan IP Range) <--- I want this to open an input box for the beginning subnet, input base address to start scan from, next input box for end range, then msgbox for start scan. i want the results of the scan to autofill the datagridview and add new row for each IP address that had a ping reply, returning valid data from WMI results as it receives the data. What would be the best method to achieve my goal. i am not asking you to write the program, i have been looking and studying MULTIPLE sites, think i just need another set of eyes on this to unlock the knowledge i have locked away, if ya know what i mean. Also, if you don't mind let me know what you think of this app im trying to turn out... Super Thanks for your help.This is the Base Batch File running. It calls an external VB Script written in notepad. (I want this implemented into the app form so there is no console window.)This is the inputbox from external VB Script that is called.This the result of the external VB Script (the info i want to put in the datagridview of the app.)I also, for some reason can't get scroll bars to show in the app when i hit F5, theres about 15 columns passed the MAC column...?
hen you add for example German language you will have these files: formMain.resx ormMain.de-DE.resx formMain.Designer.vb formMain.vbIn first file you will have resources for neutral language, like strings, images, ..So now you need to add also resources for strings used in code. Add a new resource file and name it formMain.Strings.resx Then i will enter name, value pair for every string that should be translated. When you add resource file then it is automatically typed because another file with name ormMain.Strings.Designer.cs is automatically regenerated on every close of resx designer.Add another resource with name formMain.Strings.de-DE.resx. Add the same Name key's from previous resource, and just change the Value with coresponding german words. Now to access created resource from the source it will be like this
I am working on a C# project, which needs a VB.NET Class library.I have added the DLL reference of VB.NET Project into C# project.This works fine, but sometimes I need to debug the VB.NET project or pause the project and check the variable values of my VB.NET Project.Is it possible in Visual Studio 2010 Express Edition?
I just created a simple application. I Builded that using build->build myapp. I got .exe of that application. i runned. all went fine. but when i closed that app, even after closing it is in memory. it is still running. how to deploy it properly?
I have designed and published my small created app with WINDOWS FORMS using VB 2010 EXP on Windows 7. I can only install the app on the machine that I used to develop the app.I want to install the app on another computer but I cannot. I usually have error reports.
Example:Unable to install or run this application. This application requires Microsoft Common Language Runtime 4.0.3 to be installed on your computer.
what can I do to be able to install the app on a different computer which does not have .Net and does not have visual basic 2010 installed.
coming to the topic i want to learn dotnet i am not good at programming. but i want learn it i m very passionate about it.you all know soo much about DOTNET even i want to become like you people.i have a bit knowledge about this but not much..What should be my first step towards this?How should i start with and from where should i start with?
I build program to launch application(launch application can as local profile or can as network credentials) using Advapi32 "Create Process WithLogonW".but I got the problem, I can't capture message of standard output(Stdout) and Standard Error(stderr).could everyone help me how to capture message and the code?
I usually use standard button and do the settings like causevalidation etc if required.
i decided to use toolstrip and inserted some buttons but end up that it doesn't do the validation for control and also doesn't call leave event of textbox control.
so my question is, anyway to use regular button functionality for toolstripbutton or there is a way to add regular button on toolstrip.
I just want to get opinions from other developers.What size do you tend to prefer for your applications?I have decided to stick to 1024×768 but am I alienating the people who still have 800×600.According to Wikipedia only 1% of internet users still use 800×600 screen resolution.What size do you tend to prefer for your applications?
I am a newer of VB programming, and planning to program an interface to configure/diaganose our hardware using RS232. Is Visual Studio 208 Standard version fine for my application? Do I have to buy professional version?
I'm trying to make my program into multi-language.The language file where the program reads the text from contains information like this: maintitle=Lanslaget Studio Professional Edition
file=File show=Show edit=Edit help=Help
[code].....
Note!: My program works like this:One base program (.exe) that loads it's functions from .dll files. The language-change function works well on the base-program ( so far ) but not on the .dll-functions that i have tried it on.
I want to buil an application, in which text boxes can take urdu language. I tried changing the font and put it to Arabic but when I ran it and typed something, it types in English. I do not want user to change regional setting when my application is used. I have seen this in many urdu applications, when we install, we simply run them without changing any settings.