1

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)

Omu
  • 69,856
  • 92
  • 277
  • 407

2 Answers2

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
  • 1
    If 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:

ASP.NET Web Page Resources Overview

Community
  • 1
  • 1
rick schott
  • 21,012
  • 5
  • 52
  • 81