cityofaustin / cityofaustin/techstack
Character limits for different languages
- Dominant language
- No language data
- Stars
- 11
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
### As a content author, I need page description character limits to be increased so that it accounts for translations.
Content translated into languages other than English needs more characters. We've also run into this again with the Community Police Review Commission.
See issue #2193 for more background. We ended up raising the character limits for EVERYTHING across all language because of this problem in the past. But what's happened is that now we're writing English descriptions that are too long—see for example the CPRC service page in which the English is 10 characters over:

(Let's fix it so that we actually enforce the English character limit)
**Acceptance criteria**
Let's start with service pages, unless it's easier just to do all description fields across the board.
- [ ] When user adds a description in `en`, the character limit is 254 characters. Users cannot publish a page if the description exceeds this limit.
- [ ] When a user adds a description in any other language (`es`, `ar`, `vn`), users cannot publish a page if the description exceeds the limit of **270** characters.
- [ ] For now, the display doesn't have to match this, but would be nice to size this out.
Contributor guide
No contributing guide indexed for this repository
Research direction
No file or test is named in the issue. Start by locating service-page description validation and the publish path, then verify that English descriptions are capped at 254 characters while es, ar, and vn descriptions are capped at 270; done means over-limit pages cannot be published.
Written by the indexing model from the issue text.
Assessment
- Domain
- content
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100