# Feedback & Communication / Language Context Contextual language suggestion alert informing users of available regional language content. **Category:** Patterns **Storybook:** https://doc.ux4g.gov.in/web/?path=/story/ux4g-patterns-feedback-communication-language-context--introduction ## Pattern variants - Language Context: https://doc.ux4g.gov.in/web/?path=/story/ux4g-patterns-feedback-communication-language-context--language-context ## When to use this pattern Use Feedback & Communication / Language Context when building citizen-facing flows that match the described government journey. Combine components such as cards, forms, tables, buttons, and status indicators as shown in Storybook. ## Framework setup ### HTML / CDN ```html ``` ### React ```bash npm install ux4g-web-components ``` ```jsx import 'ux4g-web-components/styles.css'; import 'ux4g-web-components/design-system'; ``` ### Angular Update `angular.json`: ```json { "styles": [ "node_modules/ux4g-web-components/styles/ux4g.css", "src/styles.css" ], "scripts": [ "node_modules/ux4g-web-components/dist/runtime/design-system.js" ] } ``` ## Code examples The snippets below are extracted from the Storybook canvas for Feedback & Communication / Language Context. Each example shows the rendered HTML, the equivalent React JSX, and the Angular template markup. ### 1. Introduction — Introduction HTML: ```html
Patterns

Language Context

Contextual language suggestion alert informing users of available regional language content.

translate

Language Context

Contextual banner suggesting available regional language content to users.

``` React: ```jsx import React from 'react'; const FeedbackCommunicationLanguageContextExample1Demo = () => ( <>
Patterns

Language Context

Contextual language suggestion alert informing users of available regional language content.

translate

Language Context

Contextual banner suggesting available regional language content to users.

); export default FeedbackCommunicationLanguageContextExample1Demo; ``` Angular: ```html
Patterns

Language Context

Contextual language suggestion alert informing users of available regional language content.

translate

Language Context

Contextual banner suggesting available regional language content to users.

``` ### 2. Language Context — Language Context HTML: ```html

Apply for Income Certificate

Switch the inline toggle to change form labels — your entered data is preserved.

``` React: ```jsx import React from 'react'; const FeedbackCommunicationLanguageContextExample2Demo = () => ( <>

Apply for Income Certificate

Switch the inline toggle to change form labels — your entered data is preserved.

Powered by -
); export default FeedbackCommunicationLanguageContextExample2Demo; ``` Angular: ```html

Apply for Income Certificate

Switch the inline toggle to change form labels — your entered data is preserved.

```