473,382 Members | 1,639 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,382 software developers and data experts.

Localization problem

Hi,

I stumbeled upon following problem
I have windows application with WindowsApplication1.en-US.resx
I ran:
Resgen WindowsApplication1.en-US.resx
WindowsApplication1.WindowsApplication1ResourceCla ss.resources
/str:C#,WindowsApplication1,WindowsApplication1Reso urceClass,WindowsApplication1ResourceFile.cs

Al.exe /target:lib
/embed:WindowsApplication1.WindowsApplication1Resou rceClass.resources,WindowsApplication1.WindowsAppl ication1ResourceClass.resources
/culture:en-US /out:WindowsApplication1.resources.dll

both successfuly

Folder structure:
WindowsApplication1\bin\debug\en-US\WindowsApplication1.resources.dll
or
WindowsApplication1\bin\en-US\WindowsApplication1.resources.dll

when I execute the project, on line of code string msg =
WindowsApplication1ResourceClass.ExitMenu;

it rises following exception

System.Resources.MissingManifestResourceException was unhandled
Message="Could not find any resources appropriate for the specified
culture or the neutral culture. Make sure
\"WindowsApplication1.WindowsApplication1ResourceC lass.resources\" was
correctly embedded or linked into assembly \"WindowsApplication1\" at
compile time, or that all the satellite assemblies required are loadable and
fully signed."
Source="mscorlib"
StackTrace:
at
System.Resources.ResourceManager.InternalGetResour ceSet(CultureInfo culture,
Boolean createIfNotExists, Boolean tryParents)
at
System.Resources.ResourceManager.InternalGetResour ceSet(CultureInfo culture,
Boolean createIfNotExists, Boolean tryParents)
at
System.Resources.ResourceManager.InternalGetResour ceSet(CultureInfo culture,
Boolean createIfNotExists, Boolean tryParents)
at System.Resources.ResourceManager.GetString(String name,
CultureInfo culture)
at
WindowsApplication1.WindowsApplication1ResourceCla ss.get_ExitMenu() in
C:\dotNet
Projects\WindowsApplication1\WindowsApplication1\W indowsApplication1ResourceFile.cs:line
68
at WindowsApplication1.Form1..ctor() in C:\dotNet
Projects\WindowsApplication1\WindowsApplication1\F orm1.cs:line 35
at WindowsApplication1.Program.Main() in C:\dotNet
Projects\WindowsApplication1\WindowsApplication1\P rogram.cs:line 17
at System.AppDomain.nExecuteAssembly(Assembly assembly, String[]
args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence
assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.Run UsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context( Object state)
at System.Threading.ExecutionContext.Run(ExecutionCon text
executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()

Please help,
Thank you very much.
Aug 31 '07 #1
0 681

Sign in to post your reply or Sign up for a free account.

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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.