Multiple resource files compared to a single resource file

This question is about performance.

I am working on MVC4 and I want to support multilingual views.

I use one resource file for each language as follows:

Multi.resx For English as default
Multi.ar.resx for Arabic 
Multi.fr.resx for Frensh

and after indicating culture I do it in my mind

@Multi.Name

However, I am making breakpoints to check the @Multi value and really contains all the keys in my resources. Imagine everything: P

My question is: would it work better if I used a resource file for each view? Or will all resources be loaded when my application starts, even if I use several resource files for each view?

, , .

+4
2

( ): ,

0

, , . ( ) ?.

, ( , ).

, , . ( ), .

MSDN:

-. , , . , .

, . , , .

- ASP.NET. . , , , . , .

, , ASP.NET ASP.NET. . , , ASP.NET .

, -, .

Cheers,

0

All Articles