In order to be able to edit Resources interactively through the Web Interface you need to include the LocalizeForm.aspx page and its related files in your Web application. The sample provides this form in a LocalizationAdmin directory and we recommend you simply copy this directory into your Web application. The directory includes the ASPX page a related CSS file and a set of ResX files for the invariant (English) and German (de) cultures.

<yourWebRoot>
   /LocalizationAdmin
      /images
      /App_LocalResources

You can name the directory anything you like, just make sure that you point the resource provider at the administration form with the proper full path in the localizationFormWebPath which is represented like this:

localizationFormWebPath="~/localizationadmin/localizeform.aspx"

The localization form in this directory is fully self contained - it includes its own images, CSS and internal Web Resources so there are no outside dependencies.

Make sure you add the following assemblies into your site's bin directory:

  • Westwind.Globalization.dll
  • Westwind.Web.dll
  • Westwind.Utilities.dll

Access Restrictions

Since Resource Administration is an administrative task, it's probably a good idea to protect this localization administration directory with some sort of authentication. The default configuration ships a Web.Config file which prohibits unauthenticated users from accessing the directory. The behavior will vary depending on your Authentication configuration.

Windows Authentication
If you have Windows Authentication enabled you will have to provide a valid Windows user name and password on the server.

Forms Authentication
If you have forms authentication enabled you will be redirected to your auto-login form.

If no Authentication is enabled the request will fail.

If you are not running a Web Application Project Web site, please see the Setting up the Administration form in Stock Web Projects topic.