Multi-language Mathematical Application And "," To "." Conversion In Spanish In .NET?
Oct 19, 2009
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 ",".
View 2 Replies
ADVERTISEMENT
Nov 9, 2009
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 (as of now). I have same setup to run in all these 3 environment 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 save one number in DB while installing application. User selects his language, I save certain number against that selection. So next time when user runs an application, I check if its Spanish, I explicitely replace "." in labels and text in TextBox
View 4 Replies
Feb 23, 2009
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?
View 7 Replies
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??
View 7 Replies
Jul 10, 2009
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...
View 5 Replies
Feb 14, 2009
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:
formMain.resx
formMain.fr-FR.resx
formMain.Designer.vb
formMain.vb
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.
View 2 Replies
Jun 3, 2009
I M DEVELOPING AN ASP.NET APPLICATION I WANT TO PROVIDE INTERFACE IN ARABIC AND ENGLISH
View 2 Replies
Nov 6, 2010
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.
View 1 Replies
Nov 23, 2009
Currently I am doing a CMS and I want to
View 2 Replies
Aug 27, 2009
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
In Code, I added
FirstName.Text = My.Resources.Resource1.lblFirstName
LastName.Text = My.Resources.Resource1.lblLastName
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.
View 1 Replies
Dec 4, 2011
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...?
View 1 Replies
Apr 28, 2009
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
View 2 Replies
Dec 1, 2011
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?
View 2 Replies
Mar 9, 2009
I use resource files in my web page.
my language in website is English and Farsi(Persian)
BUT I DO'NT KNOW .....
how to change text align or text direction in webpage with ASP.net and VB.Net 2005 ?
View 2 Replies
Nov 6, 2009
I need to add multiple textboxes together and am using Cdbl, my problem is if i have an empty box then conversion can not work, so i have to put zero default in each Textbox, i really dont like they way that looks So i am looking for a way to to give an empty textbox a value of zero so the conversion will work
[Code]....
View 3 Replies
Jun 8, 2011
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.
View 13 Replies
May 13, 2012
the form allows the user to type in a word in English and get back its Spanish translation. To accomplish this, you must read a (dictionary) file into a Dictionary (hash table) data structure and search that structure used its properties and methods.
View 1 Replies
Feb 22, 2011
Right now I am adding language GUI packages into my gaming application for users of other countries to enjoy the application.
View 5 Replies
Aug 28, 2010
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.
View 12 Replies
Apr 6, 2011
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.
View 2 Replies
Aug 9, 2010
I want make my application be able to switch with 2 language or more
View 7 Replies
Jun 6, 2010
Load language resources with vb.net?
View 3 Replies
Sep 2, 2010
illustration demonstrates my challenge in having accented letters in Spanish showing up correctly on a desktop application. I understand this forum is not for Windows forms but I thought someone may have run into this possible UTF-8,UTF-16,Unicode issue in other areas or web/desktop applications.
View 2 Replies
May 18, 2009
As I said, I have a vb.net application which runs perfectly fine on Windows XP EN. However, it becomes problematic when run it under Windows XP in German Language. I have a string type in app.config file, it stores a color's RGB value "0,102,255" as a string. When the application starts loading, I will grab that value as a string and use ColorConverter object to convert it to a color as shown the following
Dim oConverter As New ColorConverter
Dim oColor As Color = CType(oConverter.ConvertFromString(My.Settings.MyColorString), Color)
View 2 Replies
Sep 10, 2009
I would like you all to give me some links about embeding scripting languages and I would like to ask if it is possible to embed Ruby into a Vb.net application. I only know Vb.net c# and ruby and would prefer not to have to learn c/c++ (even though i probably will have to in the very far future).
View 3 Replies
Jun 29, 2010
i've developed vb.net window application in english language.. its working fine but it has to support japanees language also.. Displaying text, input text every thing should be japanees... so user can select english or japanees, based on that label, input control language has to change..
View 1 Replies
Jan 18, 2012
I am writing a program that will display numerous labels in English and Spanish. The problem is I have the formatting correct and labels aligned for English, but when I hit the button for Spanish the labels on the left overlap the labels on the right. I did set the text on the Spanish side to include 10 spaces before the text, which does align it properly, however there has to be a better way to do it. I tried padding the label on the form which works good, but I would like the padding to only take effect when the selected language is Spanish. Once English is selected I would like the formattting to go back to normal.
View 11 Replies
Mar 29, 2010
In my winform app in VB.NET I want to use the localization option. But i have a few questions/problems. I'm using a menu strip to select an other language. But it seems that is doesn't change my menustip text to my selected language. It does change my labels, buttons, and textboxes but menu strips don't seem to change when I choose another language. Also is it possible to get those resx files such as MyForm.fr-FR.resx compiled so it isn't an external file outside my app? Or to get those files in an Language folder at the same location of my app, so i don't have all those fr-FR & nl-Nl folders in the same location as my program?
View 4 Replies
Feb 23, 2011
I try to install my program (Run from setup) in a pc. Operating system Windows 7 Professional edition, it says to run the applciation , the application requires your system to be updated to Microsoft common Lanuage Runtime version 4.0.21006.0. What does it means?
[Code]...
View 3 Replies
Apr 13, 2009
i 'm develloping an application that uses a sql server database, in my computer where i'm programming i installed the sql server in the same language of the OS, in the tests of the application everything worked fine. Biut after migrating the db to the main server, the values went crazy.. After some research and tests, i saw that the language of the sql server was in english and that was the problem.
My language settings says that the decimal separator is "," and the agrupment digit it's ".", and the sql server works in the other way "." is the decimal separator and the "," it's the agrupment digit. In my code i was using the CDEC to pass the values to the DB, to solve this i removed the cdec and send the parameter as a string (So if i send 2,33 to DB with CDEC i get 233 if i send the 2,33 string i get 2.33). This works for now, but i don't know if in the future i'll have problems...
View 1 Replies