473,769 Members | 4,584 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Localization problem

We have a project that contains a number of DLLs. One DLL is a library
containing User Interface utilities that are used in most of our forms. As
we plan to localize all our strings, we've added a project that contains only
string resources. The structure in solution explorer looks like:

Utilities (Project)
-- UtilityA.cs
-- UtilityB.cs
Utilities_en (Project)
-- ResourceA.en.re sx
-- ResourceB.en.re sx

Other DLLs reference Utilities.dll and pull the strings from the resources
okay. Here's what doesn't work: The Utilities.dll contains a base form that
is inherited by a number of other forms in other DLLs. That base form refers
(in the constructor) to the string resources to load the text for its
buttons. When we createe a new form in a separate DLL, switch to the code to
inherit it from the base form, then switch back to the designer, we get the
following error:

"Could not find any resources appropriate for the specified culture or the
neutral culture. Make sure "Utilities.Reso urcesA.resource s" was correctly
embedded or linked into assembly "Utilities" at compile time, or that all the
satellite assemblies required are loadable and fully signed."

This is the same message that appears at runtime when one of the string
resources cannot be found.

We know of a number of workarounds, but no permanent solution to the
designer problem. We've even tried placing the Utilities.resou rces.dll in
the "C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\E N" folder,
thinking the designer might be looking there for the resources.

Any suggestions would be appreciated!
Mar 28 '06 #1
1 2570
Hello. Did you solve the problem? I have the same problem and I would
appreciate any suggestions.

"Nathan" wrote:
We have a project that contains a number of DLLs. One DLL is a library
containing User Interface utilities that are used in most of our forms. As
we plan to localize all our strings, we've added a project that contains only
string resources. The structure in solution explorer looks like:

Utilities (Project)
-- UtilityA.cs
-- UtilityB.cs
Utilities_en (Project)
-- ResourceA.en.re sx
-- ResourceB.en.re sx

Other DLLs reference Utilities.dll and pull the strings from the resources
okay. Here's what doesn't work: The Utilities.dll contains a base form that
is inherited by a number of other forms in other DLLs. That base form refers
(in the constructor) to the string resources to load the text for its
buttons. When we createe a new form in a separate DLL, switch to the code to
inherit it from the base form, then switch back to the designer, we get the
following error:

"Could not find any resources appropriate for the specified culture or the
neutral culture. Make sure "Utilities.Reso urcesA.resource s" was correctly
embedded or linked into assembly "Utilities" at compile time, or that all the
satellite assemblies required are loadable and fully signed."

This is the same message that appears at runtime when one of the string
resources cannot be found.

We know of a number of workarounds, but no permanent solution to the
designer problem. We've even tried placing the Utilities.resou rces.dll in
the "C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\E N" folder,
thinking the designer might be looking there for the resources.

Any suggestions would be appreciated!

May 26 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
3049
by: Thomas Weholt | last post by:
Hi, I'm doing a web-project using Python and was wondering how I can add a localization option to my web-pages? Does anybody have any hints or ideas? I'm using simpleTal/es as a template-engine. I need to let the user specify (or download a language pack ) and customize central text elements in a web-portal according to his/her needs. If anybody can share some thoughts or examples on how they did this or ideas
0
507
by: Bill | last post by:
Hi Everyone, I am having some difficulty in using the Windows Resource Localization Editor (WinRes.exe) on several Visual Basic .NET forms (.resx files) in two different projects. The editor gives an error when loading the .resx files. When attempting to load a .resx file using WinRes under Visual Studio .NET 2003, the following error is displayed in the client area of the editor: "An error occurred while loading the document. Fix...
11
1984
by: Manish Pansiniya | last post by:
Hello to all, we want to update resource online when administrator changes Localization database. can anybody tell me weather it is possible to run localization toolkit in command line or as batch process to generate satellite assembly ??? Reply ASAP whatever it is.
0
1073
by: jagdish patel | last post by:
Hello, I am working on a webapplication with the Localization support.For that I used Localization tool kit of Microsoft. Problem: I cannot add the item into the DropDownList contol,Whose vlaue come form the Localization database(set the key of the control).I also not set the index property for the DropDownList control.
6
1988
by: Rental | last post by:
I'm having the sam problem as described below with the Localization toolkit. Does anyone know if there is a solution to this problem. --->When attempting to generate resource dlls with --->LocalizationManagement.exe, I get an exception: --->Unable to generate loose file resources
8
2543
by: Olivier Matrot | last post by:
I encounter a problem with Localization features in ASP.NET 2.0. Is seems that the framework is not able to manage neutral cultures such as 'fr', or 'de'. Those are the culture sent by default from a french or German Internet Explorer in France or Germany. There is a runtime error "System.NotSupportedException: Culture "fr" is a neutral culture. It can not be used in formatting and parsing and therefore cannot be set as the thread's...
5
2652
by: CMM | last post by:
I don't seem to "get" ASP.NET 2.0's Localization features. I've read up on everything... and of course, everything is explained in cursory softball terms- not any "real-world" usage way. I hope someone can give me a clue... Questions: 1) Do my eyes deceive me or is it true that localization is still totally utterly disengaged from the Designer and Property Editor... either in source
2
2492
by: monsieur.marco | last post by:
Hi all, Does anybody know how to save localization in an excel workbook (C# 1.1)? I'm not sure this is possible, but I'm trying to do this so that numberColumns keep their format no matter what local is set in the computer where the file is opened. Thanks in advance, Swayze
2
1155
by: Robert Dufour | last post by:
In an english only application, it is fairly easy to make the table and field names in your application descriptive so that on creating the interface, most tools that bind data take the default field name and put it as the column name in say a grid control. However if you have a multi lingual UI you can localize the UI in Vs 2005 by selecting the language of the form and changing the text property of the controls to the localized text....
2
1650
by: Hans Artm | last post by:
Hi, We are developing a site that needs to be localized (english + spanish). The site has a lot of "static" pages with a lot of text, and some dynamic pages. We are unsure how to develop the static part. We could use a localize/literal control and stick content in a resx-file - but it could be several paragraphs in pure HTML and the text is not 100% static. It might change a few times a year. Another way is to have two html pages and...
0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10045
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9993
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9863
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8870
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7406
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6672
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
3561
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.