NG-ZORRO/ng-zorro-antd

Cant switch to ca_ES using service in Angular #2569

gpalomar posted onGitHub

Version

1.8.0

Environment

Electron angular app

https://ng-zorro-antd-start-9z497t.stackblitz.io

Steps to reproduce

Trying to initialize the ng-zorro i18n locale to Catalan.

What is expected?

I want to change the default locale to Catalan.

What is actually happening?

I think that ca_ES is not found

Other?

Console output: Argument of type '{ locale: string; Pagination: { items_per_page: string; jump_to: string; jump_to_confirm: string; page: string; prev_page: string; next_page: string; prev_5: string; next_5: string; prev_3: string; next_3: string; }; ... 7 more ...; Select: { ...; }; }' is not assignable to parameter of type 'NzI18nInterface'. Property 'Upload' is missing in type '{ locale: string; Pagination: { items_per_page: string; jump_to: string; jump_to_confirm: string; page: string; prev_page: string; next_page: string; prev_5: string; next_5: string; prev_3: string; next_3: string; }; ... 7 more ...; Select: { ...; }; }'.

<!-- generated by ng-zorro-issue-helper. DO NOT REMOVE -->


Fund this Issue

$20.00
Rewarded

Rewarded pull request

Recent activities

gpalomar was rewarded by vthinkxie for NG-ZORRO/ng-zorro-antd# 2569
almost 6 years ago
gpalomar submitted an output to  NG-ZORRO/ ng-zorro-antd# 2569
almost 6 years ago