Skip to content

Grid Exporter does not take into account locale and language resource strings #16139

@skrustev

Description

@skrustev

Description

Currently the Grid Exporter does not take into consideration the grid's locale and resource strings, event though there is usage of the deprecated Angular getLocaleDateFormat and getLocaleDateTimeFormat methods.

  • igniteui-angular version: any
  • browser: any

Steps to reproduce

  1. Open the grid-export demo
  2. Import:
import { IgxResourceStringsBG } from 'igniteui-angular-i18n';
import localeBG from '@angular/common/locales/bg';
  1. Add in the sample:
public resourcesBG = IgxResourceStringsBG;

and

registerLocaleData(localeBG);
  1. Set the grid's locale="bg" and [resourceStrings]="resourcesBG"
  2. Export the first grid

Result

What is the actual result after following the steps to reproduce?

Expected result

Either remove any usage of deprecated method due to not working as expected or use the new locale implementation provided with #16034 to make it work.

Attachments

Grid:

Image

Exported result:

Image

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions