Create. Collaborate. Publish.Creating and Deploying DotNetPanel Language Packs

Author:                    Feodor Fitsner
Last updated:       
23/09/2009
Version:                   1.0

Table of Contents

Introduction. 1

Required Software. 1

Installing the Toolkit. 1

Running the Toolkit on Windows Vista / Windows Server 2008. 2

Using the Toolkit. 2

Adding New Locale. 2

Localizing Resource Strings. 3

Generating Language Pack. 3

Deploying Language Pack. 4

Document History. 4

 

Introduction

This guide explains how to create and deploy a new language pack for DotNetPanel using "DotNetPanel Localization Toolkit" tool. 

Required Software

Microsoft .NET Framework 2.0 or later.

Microsoft .NET Framework Version 2.0 Redistributable Package (x86)

Microsoft .NET Framework Version 2.0 Redistributable Package (x64)

Installing the Toolkit

Download the latest version of the DotNetPanel Localization Toolkit from here:
https://www.dotnetpanel.com/downloads/?CategoryID=7

Run the setup program and follow all of the instructions to install the DotNetPanel Localization Toolkit. 

Please note that the specific version of the DotNetPanel Localization Toolkit should be used to localize the same version of DotNetPanel Portal, e.g.  DotNetPanel Localization Toolkit 2.0.1 should be used to localize DotNetPanel Portal 2.0.1 and so on.

Running the Toolkit on Windows Vista / Windows Server 2008

Please, note if you are running DNP Localization Toolkit on Windows Vista or Windows Server 2008, you should run the application under Administrator account (right-click in the explorer and then "Run as Administrator") as shown below:

http://help.dotnetpanel.com/DotNetPanel%20Tools%20and%20Add-Ons/DotNetPanel%20Localization%20Toolkit.aspx?Image=dnp_localization_toolkit_vista.PNG&Revision=0

Using the Toolkit

Adding New Locale

The first step is to create a new locale. In the top pane, click Add... button. In the popup window, select new locale and click OK button.

http://help.dotnetpanel.com/DotNetPanel%20Tools%20and%20Add-Ons/DotNetPanel%20Localization%20Toolkit.aspx?Image=Add_Locale.png&Revision=0

Localizing Resource Strings

The next step is to localize all resource strings. You will need to localize all strings into the locale that you have specified. 

http://help.dotnetpanel.com/DotNetPanel%20Tools%20and%20Add-Ons/DotNetPanel%20Localization%20Toolkit.aspx?Image=localizing.png&Revision=0

Generating Language Pack

After localizing you will need to generate a language pack. Click Save button to save all changes and click Compile Language Pack button to create a new language pack. This will generate the language specific files and zip them to the LanguagePacks sub directory of the toolkit base directory.

http://help.dotnetpanel.com/DotNetPanel%20Tools%20and%20Add-Ons/DotNetPanel%20Localization%20Toolkit.aspx?Image=Compile.png&Revision=0

Deploying Language Pack

Just unzip language pack files to the DNP Portal home directory and modify the \App_Data\SupportedLocales.config file of the DNP Portal:

<?xml version="1.0" encoding="utf-8" ?>
  <SupportedLocales>
    <Locale name="English" key="en-US" fallback="" />
    <Locale name="German" key="de-DE" fallback="" />
  </SupportedLocales>

  ...

Document History

Version

Date Released

Author

Changes

1.0

09/14/2009

Feodor Fitsner

Initial document version in downloadable format.