Create A Localization Of My Application?
Jun 15, 2011
I try to create a localization of my application. I tried 2 versions:
1.http:[url].... but when I am changing in the combobox the language, nothing is happen.
2. the example from the Training Kit of the MCTS Exam 70-511: Windows applications development with Microsoft .net framework 4. The example works, but the problem is that I want to change the language in the current form not in another.
Also I meet next problem. In my form I have many components: labels, charts, calendar etc. When I select for example German from the combobox, the header of the calendar is changed but all other components are the same, you can not see anything changed.I checked the resources, but them are ok. I tried also to use me.refresh(), but it was useless.
View 1 Replies
ADVERTISEMENT
Apr 9, 2009
I have a question abour string type resources and hope this is the proper place to ask it.I know how to create a string (type) resource file. I also know how one localizes this file by adding the appropriate language abbreviation (i.e., es, en, etc.) after the name of the file (i.e., str_resource.es.resource).None of this is terribly difficult. However, I haven't been able to fine how to do what I want to do.
Specifically, because I have an enormous number of strings (button labels, labels, registry strings [key_names and values, etc.), error messages and such) I would like to create multiple string resource files - one for each of these items. For example:
[URL]...
View 1 Replies
Sep 2, 2010
I've implemented the localization in my windows application with no problem for the label or command button which have a fixed text.
My problem is related to the label which text is merged with some variables or object properties.
E.g.: vb label1.text = "There are " & myDataGridView.Rows.Count.ToString() & " items"
So, how can I set (if it's possible) the localization for these labels? I've this kind of assignment in modules and not in the form. It's possible to set a resources file also for modules?
View 6 Replies
Apr 13, 2009
I am working on a website in dnn. I want to change the language of website or particular page. So I download the language package for spanish(es-es),chinese(zh-cn) and install them from host. Next when I changed the language of browser then the website language didn't change. Working on dnn 5.0.
how I can use language packages in dnn website.
View 5 Replies
May 10, 2011
I've just read this page [URL] One of the things they did was to convert the arabic date to the arabic calendar. I'm wondering if it is a good idea at all to do so. Will it actually be annoying/confusing for the user (even if the user is Arabic). Also, my second question is that do we really need to change 3,899.99 to 3.899,99 for some cultures like German? I mean it doesn't hurt to do so since the library already does it for us but wouldn't this actually cause more confusion to the user (even if he is German).
[Code]...
View 6 Replies
Jul 1, 2009
I've been reading about i18n and how to make my app ready for localization. One thing recommended is to set the NeutralResourceLanguageAttribute in the AssemblyInfo.vb file like such: <Assembly: NeutralResourcesLanguageAttribute("en")>However, when I do that I get 'Type is not defined' Anybody have any clues?
View 2 Replies
Mar 25, 2010
i've created an addin which shows localized properties for the current component being designed, be it a form or a control.
My approach is to load/save localizable property values through the designers resourcemanager service (resourcereader/-writer), but when I save the values, the changes doesn't appear in the designer, unless I reload it.
It's worth to say, that I am using the CreateTransaction+OnComponentChanged approach, which does notify the desiger that changes are made, but it doesnt change the newly edited resources...
Is there some way to make the designer refresh it's resources? Is there a way to know which language (form localization) the designer is designing? Is there a way to track when DTE.ActiveDocument changes, so that the toolwindow can be refreshed?
View 2 Replies
Aug 31, 2009
I've just about finished my WPF app, but I just hit a hurdle: my app needs to be totally localized (I've achieved this using databinding/RESX files & multiple cultures), and the actual program does this My problem is that I have a window where you generate reports on your progress.It's designed so that programmers will be able to design their own 'report sections', using interfaces & class libraries.Just one problem though: when I use RESX files inside these class libraries, they won't actually change even if I set their culture to the relevant culture I want to test.
View 2 Replies
Jul 14, 2011
Can't we do localization with out Resource files ?
View 8 Replies
Dec 8, 2009
I have a month calendar in a form.The control documentation says it will get its format and all strings from LOCALE_USER_DEFAULT.I have set my system location to a latin amarican country, so the month calendar should be shown in Spanish.Most of its functionality is, indeed, following the Spanish format: The month appears in Spanish and dates are reported with dd/mm/yyyy format.Nevertheless, the "today" portion of the control, at its bottom, appears in English as "today:" instead of, let's say, "Hoy:".I also noticed the "today" text turns blue when the mouse moves over it, but not all the date turns blue, the last two digits of the year stay black.I should state that my Windows and Visual Studio are in English.Could it be a bug in the control? Maybe is there a patch to correct this?
View 1 Replies
Jan 3, 2010
I'm trying to localize a big application I'm doing by my side. In order to do this, I would need some external translators to get the text (in an xml or the like) and make the appropriate translations to several languages. All the localizations in the application have been done using the localization options of the IDE, so whenever I build the application, I get the compiled resources.dll file of the given languages, but I see no way to get a not-compiled XML version of it, to be passed to the translators, so they can do their job and I can compile it later.
View 7 Replies
Feb 16, 2010
Recently I was delving into Localization with .NET. Essentially, I learnt how to customize a form (using the Language and Localizable property) and then change the culture accordingly.However, I found that when migrating my hard coded English strings into the auto-generated resource files, and use .GetString("Key") well, let's just say it wasn't happy :P.
I decided to make a separate set of resx files dedicated purely to the hard coded string translations. They followed the convention/requirement of [name].[culture-code].resx. I made of of these for each relevant language; e.g. appstrings.de.resx (For German) and appstrings.resx (as invariant baseline).
[Code]...
View 3 Replies
Jan 13, 2011
I am working on implementing localization in a winforms app and I went the route of setting the Localization property on the form to True and setting the default language to english,spanish, german, dutch and a few more. When I click on English the form displays correctly, when I click on Spanish or French it makes the panels inside the form small and the controls within it small. It doesn't allow me to resize anything or more the panel
View 1 Replies
Jan 18, 2010
I don't do much .Net programming, but I do have one that I maintain, so the answer to this may be obvious.
Setup:
Windows 7 Ultimate with All Language Packs Installed
Visual Studio 2008 Winforms VB.Net project.
I'm in the process of localizing this project, and when I'm making the Japanese version of the forms, the characters display as squares, though they render in my browser correctly. I'm guessing that this is because the default font does not have a glyph for those characters.So, my questions:
Are winforms UTF-8, or some other character encoding?
Is there a way to change the character encoding?
Should I change the font for the Japanese forms, or will Windows do it?
What's the general best practice here?
I want to know that I am copying the characters correctly into my forms, and I want to be able to test them.How can I do this?
Arial Unicode MS does have all the glyphs, but I wasn't using it, because it wasn't in the VS2008 list of fonts. I manually edited the font box to use it, but then Visual Studio throws the message, "Attempted to read or write protected memory. This is often an indication that other memory has been corrupted." I'm guessing that's because VS doesn't have permission to access that font for some reason. I go back to the default font, scary error message goes away.
Then, even when using Arial Unicode MS, the text renders as blocks in the forms titles.Same text renders correctly in labels.I think I want to use the default font, and let Windows handle it. I think I've read that everything from XP on will handle it. Windows 2000 won't, which is a shame, but what ever, I don't know what font I should use, and whatever font it is was excluded from VS.I don't know how to add it without getting lots of error messages about protected memory.Now the problem is, resizing the labels in the form, since the translated text is often larger.
Also, I don't have a support team to do this for me, but I could maybe install extra copies of Windows 7, and change to the Japanese language pack and try to run it.But that becomes a major pain.I thought I read that you could change the language while the application is running, but that doesn't seem to be true.MS docs talk about how to do this, but Windows 7 also tells you that you have to log out to change the language.MS Gothic seems to work, and it's part of VS 2008, but the title bar is still squares. That's really odd, since the same glyphs are in the winform.Is that because title bar fonts are set at a system level, and not the application level?
View 3 Replies
Jan 11, 2010
i'm currently implementing a localized website. I've created a custom ResourceProvider + Factory for storing resources in a database. This all works, i'm storing data as follows:
[Code]...
View 1 Replies
Jul 6, 2011
I have been asked, at very short notice of course, to implement exception logging to the Windows Application event Log in one of our products (vb.Net, framework 3.5, WinForms) using EntLib 5. In and of itself this is fine - I can get that working. However, this is for a client who wants messages in Chinese. Certain parts of the app have language resource files and I found a couple of sentences in my MS EntLib Developers Guide book which suggested that I could use an external resource to provide a localised 'friendly' message in a wrap handler within the Exception Handling Block.Unfortunately there was no mention of how to actually achieve this but it seemed straightforward enough. I added a new resource to a resx file which lives at the project level for the project which is common to all areas of the application and re-built to project so that the satellite assemblies were built. I then specified the name of the resource in the 'Message Resource Name' field within the EntLib configuration console. the problem arises when I try and specify the 'Message Resource Type'.
I clicked on the search button and found the satellite assembly I needed, but it did not get added to the list of loaded assemblies and therefore I couldn't select it. The problem is that none of the places where I've seen this feature mentioned actually demonstrate how to get it working so I'm not sure where I'm going wrong. The search for the assembly will only let me select a dll or exe so I assume I am supposed to reference the satellite assembly somehow but how do I do this if it won't add it to the list of loaded assemblies?One point to note is that we have a main executable which then calls numerous class libraries to load areas of functionality as required, and the config file we use throughout is the one which belongs to the main executable. Is it the case that you can only use satellite assemblies which are related to the assembly that the config file belongs to?
View 1 Replies
Jan 6, 2011
I'm working on a project, where the localization is mostly done using resourcefiles/cultures. If a translation does not exist for the language, the default language is used.I recently received the task of reviewing some problems with the translation. Some text is in the default language, some not. Why it has not been translated is not always obvious, as there are cases when the resource files are not used, or have not been translated. I would love to be able to see what is the case without having to check the code.
View 1 Replies
Sep 21, 2010
I've a very strange problem with the localization and the default language resx file.I can add a string entry in the file with no problem. After moving or resizing any of the object in the form, the default resx file, resets itself and then my entry is deleted.Has anyone had the same problem??Unfortunately I can't attach a test project I made, 'cause of some security policies of my network. This is the list of operations you have to do, in order to replicate the problem:create a new windows form project;add any object (ie button) and then change its text property to "Example";set the form's property Localizable = Trueselect one of the language in the form's Language property;change again the text property to "Example 2";get back to the "(default)" entry of the language property;open the Form1.resx file then add a string entry, finally save it;try to move or resize the object into the form and then open again the Form1.resx file. You'll se the entry just for a while and then the file resets itself.
View 4 Replies
Jan 8, 2010
I have an app that has been localized in the usual fashion (i.e., .resx files), which handles about 95% of the strings. However, I still need to localize some strings for category names that are stored in the database. I'd like to avoid adding 15 new columns named categoryname_ES, categoryname_FR, etc, and then pulling the right column dynamically. If there would be some way to pull the data, and then do a substitution in the code, I think that would be a little less messy. Maybe along the lines of:
go through gridview row by row if the language selected isn't English, look for this text value in a global resources file and replace it. Or is adding a lot of categoryname columns for each language just the way to go (ewww).
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
Mar 15, 2011
I'm busy creating a multi language application, so far so good. I've googled some examples, first problem I've encountered is setting it. Accourding the msdn documentation it had to be done BEFORE initializecomponent. I didn't know how, but found out you have to creat a 'sub new' in your main class.
[Code]....
View 1 Replies
Jan 27, 2012
I have my company's website (Visual Studio / vb / asp.net 4.0) localized in 9 different languages, and they all work great. When you're on, for instance, about.aspx, and you switch to Russian or Swedish, it stays on about.aspx and doesn't add a query-string to the end of the URL; it just changes the page's text to that language. Will the major SEs like Google, Yahoo, etc., consider this duplicate content for SEO purposes and if so, what should I do?
View 3 Replies
Aug 4, 2010
Hello I want to create a windows form application program that can create games something like Gamemaker or Klik & Play (butt less advanced) with D&D "Drag and Drop" events and actions.
View 7 Replies
Feb 26, 2010
How can I create a VB application in VS2008 without requiring the application be run on a computer with a .NET framework in place?
View 4 Replies
May 27, 2009
how to create a uninstall command for a Windows-based application in the Application Folder when creating a new setup project in visual studio 2008.
View 4 Replies
Dec 17, 2009
I understand this is possible but I am not sure where to start. I want to either buy or create an application that captures a resource from another application so that I can fire off another application. In other words, I want to start an application (which I did not write) that is database driven so the form has a number of text boxes. When someone keys something into that field I want to be able to validate the value, outside of the original application. For instance, if the program asks for a zipcode and it doesn't validate the zipcode, I'd like to trap for that and write something that would validate it. At this point I don't think I'd have to send anything back to the textbox/resource.
View 1 Replies
Apr 30, 2009
I'm facing a major problem with a Deployment Project I created to install one of my applications.I am using the ENGLISH IDE of the Visual Studio 2008 - even though my end users will have German environments. This is why I set the
Localization = German
Property in the Deployment Project's Properties. The UI of the generated setup is German, so all's fine there. However, the setup installs the ENGLISH .Net Framework. I have not found any way around this.The problem are at least twofold:
1. An English Framework on a German PC might cause instabilities.
2. It's a big flaw to see UI inconsistencies (i.e. the UI and Setup of the application is German while the NET Framework shows certain elements in English, e.g. the DisplayName property of cultures)how can I get the project to install the localized .NET Framework?
View 4 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
Oct 29, 2009
I am unsure about how to go at this, what I want is to create an application that can connect to others using that application. Things such as if I change something on the forum it will be changed on someone else who is looking at the forum, granted it would be a specific person who i am connecting with,
View 4 Replies
Jul 7, 2010
I want to create a web application where I can read and write data into MS SQL data base or an .MDB file (for testing), pls guide me what should be the mean of connectivity to database? ADO /ADODB /OLEDB
View 6 Replies