[]
This section demonstrates how users can add languages supported by C1 localization using FlexGrid as a example.
Create a FlexGrid following the step in this guide: Quick Start
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" }
};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)In solution explorer, create a resource file
Drag and drop the Russian (.resx) file from C1 libraries to Resource file
Select the .resx file and set its Build Action to EmbeddedResource
Build and verify