How can i localize asp.net mvc application using a external assembly
Posted
by allrast
on Stack Overflow
See other posts from Stack Overflow
or by allrast
Published on 2010-04-05T11:41:32Z
Indexed on
2010/04/06
13:03 UTC
Read the original article
Hit count: 248
i want to create a external dll to store my .resx files.
i want to do this because i need to access this files from both presentation and business layers.
I have created a external project that contains the default and the es-Es resx files. i have mark it as PublicResXFileCodeGenerator to be able to access it from another dll.
on my view i have this test
<%=localization.Common.title.ToString() %>
when i'm run the application i always get this error
"Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "localization.Common.resources" was correctly embedded or linked into assembly "localization" at compile time, or that all the satellite assemblies required are loadable and fully signed."
i have read some this related to ddl signing... but i don't now if this is the problem.
© Stack Overflow or respective owner