[]
        
(Showing Draft Content)

Quick Start

This section demonstrates how users can add languages supported by C1 localization using FlexGrid as a example.

Create Sample FlexGrid

  1. Create a FlexGrid following the step in this guide: Quick Start

  2. Copy the following code into your application to include the sample data referenced throughout this guide.

flexGrid.ItemsSource = new[]
{
     new { ID = 1, Name = "Anna", City = "Budapest" },
     new { ID = 2, Name = "Béla", City = "Győr" },
     new { ID = 3, Name = "Csilla", City = "Debrecen" }
 };

Locate Resource Files

User can find the resource files from NuGet or C1ControlPanel.

Example of the resource files:

Resources.resx        (default English)
Resources.ja.resx     (Japanese)
Resources.zh-Hans.resx (Simplified Chinese)

Add Target Language

  1. In solution explorer, create a resource file

  2. Drag and drop the Russian (.resx) file from C1 libraries to Resource file

  3. Select the .resx file and set its Build Action to EmbeddedResource

  4. Build and verify