Skip to content

Commit cfff866

Browse files
committed
feat(cas): add i18n translations for conversational agent chat (#54)
1 parent 78777f2 commit cfff866

14 files changed

Lines changed: 410 additions & 105 deletions

File tree

package-lock.json

Lines changed: 137 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/conversational-agent-chat/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,10 @@
6464
"vitest": "^4.0.18"
6565
},
6666
"dependencies": {
67-
"@uipath/apollo-react": "^3.51.1",
6867
"@uipath/apollo-core": "^5.7.0",
69-
"@uipath/apollo-wind": "^0.10.0"
68+
"@uipath/apollo-react": "^3.51.1",
69+
"@uipath/apollo-wind": "^0.10.0",
70+
"i18next": "^26.0.4",
71+
"react-i18next": "^17.0.2"
7072
}
7173
}

packages/conversational-agent-chat/src/ConversationalAgentChat.stories.tsx

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -302,19 +302,6 @@ export const DarkTheme: Story = {
302302
},
303303
};
304304

305-
export const Japanese: Story = {
306-
args: {
307-
locale: "ja",
308-
},
309-
parameters: {
310-
docs: {
311-
description: {
312-
story: "Chat widget with Japanese locale.",
313-
},
314-
},
315-
},
316-
};
317-
318305
export const ReadOnly: Story = {
319306
args: {
320307
readOnly: true,

0 commit comments

Comments
 (0)