Open Closed

How to apply blazorise to zh-Han resource package #7422


User avatar
0
cunyong.yu@vskysoft.com created

I am using the DataGrid component of blaze, but there is no Simplified Chinese package in the component.When I referred to the Localization document of Blazorise and set the language to zh-Han, I found that individual pages are valid, but global settings have no effect. Because it is used in many places, we hope to inject language packs globally. I added the following to the ConfigServices method of the Module. cs class in the Blazor project.

Translation of DataGrid component added to zh Hans.json file

But the interface still has no effect

  • ABP Framework version: v7.2.2
  • UI Type: Blazor Server
  • Database System: PostgreSQL
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

2 Answer(s)
  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hello

    Can you please check this similar issue https://support.abp.io/QA/Questions/2504/How-to-set-default-language-as-Chinese-in-Blazor-Server-App

    Thank you.

  • User Avatar
    0
    cunyong.yu@vskysoft.com created

    Hello

    Can you please check this similar issue https://support.abp.io/QA/Questions/2504/How-to-set-default-language-as-Chinese-in-Blazor-Server-App

    Thank you.

    I added this configuration to the Module class, but it still doesn't take effect

Made with ❤️ on ABP v8.2.0-preview Updated on března 25, 2024, 15:11