|
10 月之前 | |
---|---|---|
.. | ||
Localization | dfd6c9d11c Samples changes | 1 年之前 |
LocalizationSampleExtension.cs | a3193f2697 Renamed WasmExtension to PixiEditorExtension | 1 年之前 |
Program.cs | dfd6c9d11c Samples changes | 1 年之前 |
README.md | dfd6c9d11c Samples changes | 1 年之前 |
Sample2_LocalizationSample.csproj | 1011fe69a5 Downgraded to .net 8.0 | 10 月之前 |
extension.json | dfd6c9d11c Samples changes | 1 年之前 |
This sample shows how to create translations for you extension and how to use it in your extension.
Localization data is automatically loaded from the Localization
folder in
your project, make sure to copy it to output directory with
<ItemGroup>
<Content Include="Localization\*">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>