Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #102454
    TurricanDE
    Participant
    Up
    0
    Down

    We want to use the Blazor lib in one of our projects. So I checked out the data grid and I like the component 🙂

    But I ran into a localization issue:

    I couldn’t figured it out how to localize the header part of the grid e.g “Customize columns” or all filter related expressions “equal”, “does not contain” etc.

    I set the messages property of the grid. The pager part works fine.

    ….

    {
    “de”,
    new Dictionary<string, string>()
    {

    { “customize”, “translated text 1” }, <= doesn’t work

    { “doesNotContain”, “translated text 2” } <= doesn’t work

    { “pagerNavigateToLabel”, “translated text 3” }, <= this works

    Is there an issue or missed I something?

    The only way I can do it, is to manipulate the JS at the moment

    messages: {
    value: {
    en: {
    addFilter: “+ Add filter”, <= Change text here

    Element selection in _localizeHeader() in the JS looks good, but I guess e.localize(“customize”) etc. does not receive the locale “de” Dictionary?

     

     

     

    #102458
    Yavor Dashev
    Participant
    Up
    0
    Down

    Hi TurricanDE,

    This behavior is a bug and I will add a work item for this scenario and we will work to fix it as soon as possible.

    Please, do not hesitate to contact us if you have any additional questions.

    Best regards,
    Yavor Dashev
    Smart UI Team
    https://www.htmlelements.com/

    #102460
    TurricanDE
    Participant
    Up
    0
    Down

    Thank you for the quick response. Great to hear there is a fix coming.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.