[BUG] [Angular Client]Pattern still fall back to en-US even though defaultLocale is set as NOT en-US locale.
Open
@pengrongbo is already working on this.
Since Sep 27, 2019.
area/angular-client
kind/bug
priority/medium
- Dominant language
- Java
- Stars
- 72
- Forks
- 69
- Avg merge
- 23h 32m
- Merged PRs (30d)
- 4
Description
Describe the bug
Pattern still fall back to en-US even though defaultLocale is set as NOT en-US locale.
To Reproduce
Steps to reproduce the behavior:
- Set default locale in your app with below:
localeService.setDefaultLocale({
languageCode: 'ja',
languageName: 'Japanese',
regionCode: 'JP',
regionName: 'Japan'
}) - Adding ja pattern file(locale_ja.ts) to scr/data directory.
- Requesting the ja-JP translation and pattern.
Expected behavior
Can get ja_JP pattern from local stored file(locale_ja.ts).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.