Rename `I18nSelectPipe`
See original GitHub issueWhich @angular/* package(s) are relevant/related to the feature request?
common
Description
Angular provides the built-in pipe I18nSelectPipe
. The name of this pipe is quite confusing as the use case for i18n mappings (e.g. male
, female
, etc.) is just one. The pipe can be used to map any value against a key.
The current name suggests that the pipe is somewhat specific for i18n features but it isn’t.
Proposed solution
The pipe should be renamed to: select
Alternatives considered
selectValue
map
mapValue
Issue Analytics
- State:
- Created a year ago
- Reactions:2
- Comments:5 (2 by maintainers)
Top Results From Across the Web
I18nSelectPipe - Angular
an object that indicates the text that should be displayed for different values of the provided value . Descriptionlink. If none of the...
Read more >angular/common - UNPKG
659, // TODO: rename this method to pushState ... minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: I18nSelectPipe, decorators: [{.
Read more >How do I rename bundles generated with ng serve of Angular ...
I need to rename bundles generated post ng serve of Angular Application. Currently, the bundles are: vendor.js polyfills.js styles.css ...
Read more >Internationalization (i18n) Angular 2官方教程 _w3cschool
The Angular i18n attribute is a marker for translatable content. Place it on every element tag whose fixed text should be translated. i18n...
Read more >Pipe - I18nSelectPipe - Plunker
Enter to Rename, Shift+Enter to Preview. Preview. Click to run Ctrl+Enter. DigitalOceanCreate your world-changing apps on the cloud developers love Try now ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
IMO the same applies for i18nPlural: It is not really useful for i18n in the sense of supporting different languages.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.