Incorrect abbreviation for days in pt-PT

7 posts, 1 answers
  1. Murilo
    Murilo avatar
    6 posts
    Member since:
    Sep 2019

    Posted 29 Jul Link to this post

    Hi, 

    The calendar show incorrect abbreviation for days in "pt-PT", but in "pt" is correct. See the comparison in the print.

     

    Murilo Alves.

  2. Martin
    Admin
    Martin avatar
    253 posts

    Posted 31 Jul Link to this post

    Hi Murilo,

    Thank you for the provided screenshot.

    Changing the locale to pt-PT should switch to Portuguese with day names abbreviated as the following example demonstrates:

    https://stackblitz.com/edit/angular-dcnepw-8pdhst?file=app%2Fapp.component.ts

    The Calendar resolves the short name representation of the day names from the localization service, and it's likely that they have been changed somewhere throughout your application. Please check the following demo for details.

    https://stackblitz.com/edit/angular-ky89dv-7kd7nf?file=app%2Fapp.module.ts

    To fix this, restore the original names (e.g. don't overwrite them).

    If that's not the issue, I'd have to ask you to send a StackBlitz example or a zipped project demonstrating the issue, as I'm not sure how else to reproduce this. Thank you in advance.

    Regards,
    Martin
    Progress Telerik

  3. Murilo
    Murilo avatar
    6 posts
    Member since:
    Sep 2019

    Posted 31 Jul Link to this post

    Hi Martin,

    I change your StackBlitz example. I add kendo-numerictextbox to differentiate between "pt" (default is Brazil) and "pt-PT" (Portugal) by currency.

    Example:

    https://stackblitz.com/edit/angular-dcnepw-cxasbu?file=app%2Fapp.component.ts

    See the new screenshot.

  4. Martin
    Admin
    Martin avatar
    253 posts

    Posted 04 Aug Link to this post

    Hi Murilo,

    Thank you for the provided example.

    After some research, I found that the short day names for the pt-PT locale are no longer abbreviated by CLDR. Please check the following resources:

    https://unicode-org.atlassian.net/browse/CLDR-13851

    https://github.com/unicode-cldr/cldr-dates-modern/blob/master/main/pt-PT/ca-gregorian.json#L124

    Accept my apologies for the caused confusion.

    We will provide a temporary fix until the short names are avaialble built-in in CLDR.

    Regards,
    Martin
    Progress Telerik

  5. Murilo
    Murilo avatar
    6 posts
    Member since:
    Sep 2019

    Posted 04 Aug Link to this post

    Hi Martin,

    Thank you so much. What is the deadline for this temporary fix?

     

  6. Answer
    Martin
    Admin
    Martin avatar
    253 posts

    Posted 05 Aug Link to this post

    Hi Murilo,

    It is already in dev channel of the Internationalization package (v2.0.3 dev):

    https://www.telerik.com/kendo-angular-ui-develop/components/globalization/internationalization/changelog/

    Please check the following article from our documentation for more info on how to obtain the development builds:

    https://www.telerik.com/kendo-angular-ui/components/installation/development-builds/

    I hope this helps.

    Regards,
    Martin
    Progress Telerik

  7. Murilo
    Murilo avatar
    6 posts
    Member since:
    Sep 2019

    Posted 05 Aug Link to this post

    Hi Martin,

    Worked perfectly. Thank you so much.

Back to Top