iachat/app/controllers/concerns
Pranav a513f152ed
fix: Extend the locale without variant check for article locales as well (#11021)
We allow users to select locale variants when creating the help center
(e.g., pt_BR or en_UK). However, the selected variant may not always be
available for translation in the app. In such cases, we need to fall
back to either the base language or the default locale.

While this fallback logic was implemented for the portal locale, it was
missing for article locales.

This PR fixes that issue.
2025-03-06 18:24:46 -08:00
..
.keep Initial Commit 2019-08-14 15:18:44 +05:30
access_token_auth_helper.rb feat: Conversation update API for sla_policy_id (#8973) 2024-03-14 17:22:32 +05:30
auth_helper.rb chore: Upgrade rails and ruby versions (#2400) 2021-08-03 20:11:52 +05:30
domain_helper.rb fix: Locale not correct in root url when accessing help center with custom domain (#9110) 2024-03-19 18:48:59 +05:30
ensure_current_account_helper.rb feat: Agent bot cant assign conversations to teams (#8015) 2024-02-12 15:51:22 +05:30
google_concern.rb feat: add Google login flow and inbox creation (#9580) 2024-06-07 16:37:46 +05:30
hmac_concern.rb feat: API to create HMAC verified conversations (#7209) 2023-05-29 21:57:24 +05:30
label_concern.rb feat: API to add label to contacts (#1563) 2021-01-03 20:07:57 +05:30
meta_token_verify_concern.rb feat: Support for Whatsapp Cloud API (#4938) 2022-07-06 21:45:03 +02:00
microsoft_concern.rb feat: add Google login flow and inbox creation (#9580) 2024-06-07 16:37:46 +05:30
request_exception_handler.rb chore: Log errors handled by RequestExceptionHandler (#8013) 2023-09-30 19:46:58 -07:00
switch_locale.rb fix: Extend the locale without variant check for article locales as well (#11021) 2025-03-06 18:24:46 -08:00
twitter_concern.rb fix: Twitter inbox creation error (#1783) 2021-02-16 19:35:10 +05:30
website_token_helper.rb chore: Allow super admin to suspend an account (#5174) 2022-08-03 11:40:03 +05:30