Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant switch to ca_ES using service in Angular #2569

Closed
gpalomar opened this issue Dec 1, 2018 · 3 comments
Closed

Cant switch to ca_ES using service in Angular #2569

gpalomar opened this issue Dec 1, 2018 · 3 comments

Comments

@gpalomar
Copy link
Contributor

gpalomar commented Dec 1, 2018

Version

1.8.0

Environment

Electron angular app

Reproduction link

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: { ...; }; }'.

@wzhudev
Copy link
Member

wzhudev commented Dec 4, 2018

@gpalomar

Hi. Thanks for reporting this. I guess we don't have a lot of users who speak Catalan and the language file is out of date. See the difference between ca_ES.ts and en_US.ts. Some properties are missing.

image

Are you interested in fixing the language file by submitting a pr and benefit other Catalan speakers? 😄

@IssueHuntBot
Copy link

@issuehuntfest has funded $20.00 to this issue. See it on IssueHunt

@IssueHuntBot
Copy link

@vthinkxie has rewarded $18.00 to @gpalomar. See it on IssueHunt

  • 💰 Total deposit: $20.00
  • 🎉 Repository reward(0%): $0.00
  • 🔧 Service fee(10%): $2.00

andrew-yangy pushed a commit to andrew-yangy/ng-zorro-antd that referenced this issue Jun 20, 2019
* fix(module:i18n): fix catalan translations

* fix(module:i18n): fix for catalan "jump_to_confirm" string

close NG-ZORRO#2569
Ricbet pushed a commit to Ricbet/ng-zorro-antd that referenced this issue Apr 9, 2020
* fix(module:i18n): fix catalan translations

* fix(module:i18n): fix for catalan "jump_to_confirm" string

close NG-ZORRO#2569
hsuanxyz pushed a commit to hsuanxyz/ng-zorro-antd that referenced this issue Aug 5, 2020
* fix(module:i18n): fix catalan translations

* fix(module:i18n): fix for catalan "jump_to_confirm" string

close NG-ZORRO#2569
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants