Title: DOCS-i18n: Select among alternative text translations · Issue #22522 · angular/angular · GitHub
Open Graph Title: DOCS-i18n: Select among alternative text translations · Issue #22522 · angular/angular
X Title: DOCS-i18n: Select among alternative text translations · Issue #22522 · angular/angular
Description: I'm submitting a... [x ] Documentation issue or request Current behavior The text in the docs does not match the example code given Expected behavior They should match Minimal reproduction of the problem with instructions The following f...
Open Graph Description: I'm submitting a... [x ] Documentation issue or request Current behavior The text in the docs does not match the example code given Expected behavior They should match Minimal reproduction of the p...
X Description: I'm submitting a... [x ] Documentation issue or request Current behavior The text in the docs does not match the example code given Expected behavior They should match Minimal reproduction of t...
Opengraph URL: https://github.com/angular/angular/issues/22522
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"DOCS-i18n: Select among alternative text translations","articleBody":"## I'm submitting a...\r\n[x ] Documentation issue or request\r\n\u003c/code>\u003c/pre>\r\n\r\n## Current behavior\r\nThe text in the docs does not match the example code given\r\n\r\n## Expected behavior\r\nThey should match\r\n\r\n\r\n## Minimal reproduction of the problem with instructions\r\n\r\nThe following format message in the component template binds to the component's gender property, which outputs one of the following string values: \"m\", \"f\" or \"o\". The message maps those values to the appropriate translations:\r\n\r\nReferring to the example:\r\n\u003cpre>\u003ccode>\u003cspan i18n>The author is {gender, select, male {male} female {female} other {other}}\u003c/span>\u003c/pre>\u003c/code>\r\n\r\n## What is the motivation / use case for changing the behavior?\r\nUnless I am quite confused, it seems like the component should be said to be outputting \"male\", \"female\" or \"other\". If I am confused, then perhaps the docs should be clearer here..\r\n\r\nSuggested new docs text:\r\nThe following format message in the component template binds to the component's gender property, which outputs one of the following string values: \"male\", \"female\" or \"other\". The message maps those values to the appropriate translations:","author":{"url":"https://github.com/narthur157","@type":"Person","name":"narthur157"},"datePublished":"2018-03-01T12:49:43Z","url":"https://github.com/angular/angular/issues/22522"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e76deeb7-6dd2-24b0-158e-ad31f2e3b003 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 84D8:1DCB8C:146EF05:1AF8E74:6B0123B7 |
| html-safe-nonce | 477920caf6876f60065def1ba973a8d2ec5769d21753ccbb22eac082fddbdfe8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NEQ4OjFEQ0I4QzoxNDZFRjA1OjFBRjhFNzQ6NkIwMTIzQjciLCJ2aXNpdG9yX2lkIjoiMjE0Nzc1NjA1Mjc3ODI4MDIzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 98bcfc9c50c91fade0805ccb7319694c17aa3ec94986891d7ab2d8dd65f3e950 |
| hovercard-subject-tag | issue:301392505 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/22522/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2b6d278f72de7df74c1a018a171fc859d81d884c666d266cb6ae586be782c4e4/angular/angular/issues/22522 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2b6d278f72de7df74c1a018a171fc859d81d884c666d266cb6ae586be782c4e4/angular/angular/issues/22522 |
| og:image:alt | I'm submitting a... [x ] Documentation issue or request Current behavior The text in the docs does not match the example code given Expected behavior They should match Minimal reproduction of the p... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | narthur157 |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular git https://github.com/angular/angular.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 24195339 |
| octolytics-dimension-repository_nwo | angular/angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24195339 |
| octolytics-dimension-repository_network_root_nwo | angular/angular |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width