iachat/app/javascript/dashboard/composables/spec
micahmills b989ca6397
feat: Agent language settings (#11222)
# Pull Request Template

## Description

This Pull Request will provide a language selector in the Profile
Settings for each user, and allows them to change the UI language per
agent, defaulting back to the account locale.

Fixes # #678 This does PR addresses the Dashboard view but does not
change the language of the agents emails

## Type of change

Please delete options that are not relevant.
- [X ] New feature (non-breaking change which adds functionality)

## How Has This Been Tested?

1. Go to an Agents Profile settings page
2. Select a language from the Language drop down
3. the UI will update to the new i18n locale
4. navigate through the UI to make sure the appropriate language is
being used
5. Refresh the page to test that the locale persists


270

- [X] My code follows the style guidelines of this project
- [X] I have performed a self-review of my code
- [X] I have commented on my code, particularly in hard-to-understand
areas
- [ ] I have made corresponding changes to the documentation
- [X] My changes generate no new warnings
- [X] I have added tests that prove my fix is effective or that my
feature works
- [X] New and existing unit tests pass locally with my changes
- [X] Any dependent changes have been merged and published in downstream
modules
Checklist:.724.2708

---------

Co-authored-by: Sojan Jose <sojan@pepalo.com>
Co-authored-by: Pranav <pranav@chatwoot.com>
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
Co-authored-by: iamsivin <iamsivin@gmail.com>
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
2025-09-09 14:27:36 +05:30
..
fixtures feat: Rewrite reportMixin to a composable (#10029) 2024-08-27 08:00:05 +05:30
emitter.spec.js chore: fix circleci on vite build (#10214) 2024-10-07 15:27:41 +05:30
index.spec.js chore: fix circleci on vite build (#10214) 2024-10-07 15:27:41 +05:30
useAccount.spec.js feat(v4): Update the design for the contacts list page (#10501) 2024-11-27 20:07:20 -08:00
useAdmin.spec.js feat: Replace alertMixin usage with useAlert (#9793) 2024-07-23 16:41:11 +05:30
useAgentsList.spec.js fix: Translate "None" option in agent assignment dropdown (#11060) 2025-03-11 14:49:27 -07:00
useAI.spec.js chore: fix circleci on vite build (#10214) 2024-10-07 15:27:41 +05:30
useAutomation.spec.js feat: Add automation rule event conversation resolved (#9669) 2025-08-13 12:57:14 +05:30
useConfig.spec.js feat: Rewrite configMixin to a composable (#9921) 2024-08-14 12:56:30 +05:30
useConversationLabels.spec.js feat: Rewrite conversation/labelMixin to a composable (#9936) 2024-08-12 17:41:12 +05:30
useDetectKeyboardLayout.spec.js feat: Rewrite keyboardEventListener mixin to a composable (#9831) 2024-08-05 18:59:47 +05:30
useFileUpload.spec.js feat: Add channel-specific file upload rules and size limits (#12237) 2025-08-26 22:23:39 +05:30
useFontSize.spec.js feat: Agent language settings (#11222) 2025-09-09 14:27:36 +05:30
useImageZoom.spec.js chore: Improvements in image attachment viewer (#11040) 2025-03-18 14:01:18 +05:30
useImpersonation.spec.js feat: Prevent saving preferences and status when impersonating (#11164) 2025-05-20 17:34:30 -07:00
useInbox.spec.js feat: Add QR codes for WhatsApp, Messenger, and Telegram on inbox finish page (#12257) 2025-08-27 11:53:03 +05:30
useIntegrationHook.spec.js chore: Repalce Hook Mixin with useHook composable [CW-3454] (#9994) 2024-08-22 16:48:02 +05:30
useKeyboardEvents.spec.js refactor: useKeyboardEvents composable (#9959) 2024-08-22 16:40:55 +05:30
useKeyboardNavigableList.spec.js refactor: useKeyboardEvents composable (#9959) 2024-08-22 16:40:55 +05:30
useMacros.spec.js fix: Translate Priority and Messages types in Automations and Macros (#11741) 2025-07-08 12:40:40 +05:30
useReportMetrics.spec.js feat: Rewrite reportMixin to a composable (#10029) 2024-08-27 08:00:05 +05:30
useTranslations.spec.js chore: Improve translation service with HTML and plain text support (#11305) 2025-04-16 17:59:06 +05:30
useUISettings.spec.js feat: Rewrite uiSettings mixin to a composable (#9819) 2024-07-23 21:27:22 +05:30