By default, an ePortal data source does not generate an external resource file for localizable strings. However, you can easily configure a new or existing data source project to generate and use string resource files.
To enable localization, do the following:
Open the solution containing your data source project in Visual Studio.
In Solution Explorer, right-click the data source project and select Properties.
Set the property Localizable to True. Refer to Data Source Project Property Pages Dialog for more information on using the Properties dialog.
Rebuild the solution by selecting Rebuild Solution from the Build menu. Refer to Building Your ePortal Solution for more information.
In Solution Explorer, browse to the Client Messages folder under the data source project.
If you expand a particular .eprec file, you should see that ePortal generated a corresponding .resx file. This .resx file is a resource file that contains the localized strings for that particular client message.
In addition, the build process also generates a model file for each client message.
Your MVC presentation uses these model files to scaffold your presentation. When you rebuild your model files with localization enabled, the annotations on each model field are updated to indirectly reference the localized string resource rather than directly include the actual text. Refer to Scaffolding for more information.