Skip to content

feat(uttarpradesh): show bilingual Hindi/English titles on demo videos page - #701

Merged
likhithThammegowda merged 1 commit into
masterfrom
feature/up-demo-bilingual-titles
Jul 30, 2026
Merged

feat(uttarpradesh): show bilingual Hindi/English titles on demo videos page#701
likhithThammegowda merged 1 commit into
masterfrom
feature/up-demo-bilingual-titles

Conversation

@likhithThammegowda

Copy link
Copy Markdown
Contributor

What

/uttarpradesh/demo now shows Hindi as the primary language with English as a supporting line underneath — for the page heading, subtitle, and both video card titles.

Why

Page is shared directly with Uttar Pradesh health workers; requested to lead with Hindi rather than switch on locale.

Changes

File Change
src/app/routes/help-videos/help-videos.component.ts title split into titleHi/titleEn; page heading/subtitle now bilingual constants; removed the ngx-translate seeding (TranslateService, LanguageService, onLangChange re-seed) since the page always shows both languages now instead of switching
src/app/routes/help-videos/help-videos.component.html Renders Hindi line then English line for heading, subtitle, and each card title; lang="hi"/lang="en" on each so screen readers switch pronunciation
src/app/routes/help-videos/help-videos.component.scss Devanagari gets looser line-height (1.5) than the Latin support line (1.4); CTA pinned to card bottom via a flex chain (card → link → meta) so both cards' "Watch on YouTube" links align despite very different Hindi title lengths

Spelling standardized on ई-क्षमता (existing majority spelling in the codebase — 5 occurrences vs 3 of ई-क्षमाता before this page existed).

Verification

  • SCSS compiles standalone with sass (no syntax errors)
  • Reviewed the diff against the previous merged version of this page

Risk

Low — copy/markup/style only within one standalone page component; no routing or shared-code changes.

…s page

Hindi is now the primary reading on /uttarpradesh/demo, with English as a
supporting line underneath, for both the page heading and each video card
title. Removes the ngx-translate seeding from the previous cut since the
page now always shows both languages at once rather than switching on
locale.
@likhithThammegowda
likhithThammegowda merged commit 79eb0df into master Jul 30, 2026
1 check failed
@likhithThammegowda
likhithThammegowda deleted the feature/up-demo-bilingual-titles branch July 30, 2026 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants