is it possible to do internationalization in asp.net with just one resource file for all pages (I know that by default you have to have resource files for each page)
Asked
Active
Viewed 704 times
1
-
one resource file for each language, but for all pages – Omu Nov 11 '09 at 10:08
-
Removed my initial comment, my misunderstanding, sorry. – Mihai Nita Nov 12 '09 at 21:00
2 Answers
2
You can have global and page level resources. If the file is in app_globalresources, it's meant to be a global resource file. If it's in app_localresources, it's meant to be a page level resource file.

Pete OHanlon
- 9,086
- 2
- 29
- 28
-
and if i need to translate something that is not in the UI but in a separate class library like DomainModel, am i going to be able to do this ? – Omu Nov 05 '09 at 13:56
-
1If it were in a separate class library, I'd bake the resources into the DLL. – Pete OHanlon Nov 05 '09 at 14:00
0
Yes, see similar question: Global resource vs. Local resource in ASP.NET
Resource link:

Community
- 1
- 1

rick schott
- 21,012
- 5
- 52
- 81