473,398 Members | 2,427 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

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.resx
-- ResourceB.en.resx

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.ResourcesA.resources" 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.resources.dll in
the "C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\EN" folder,
thinking the designer might be looking there for the resources.

Any suggestions would be appreciated!
Mar 28 '06 #1
1 2543
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.resx
-- ResourceB.en.resx

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.ResourcesA.resources" 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.resources.dll in
the "C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\EN" 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
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....
0
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...
11
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...
0
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...
6
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...
8
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...
5
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...
2
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...
2
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...
2
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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...

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.