-
Notifications
You must be signed in to change notification settings - Fork 605
Description
Hello FreeScout Team,
I'm submitting two major improvements for RTL language support, specifically for Hebrew. This includes a complete overhaul of the email templates for proper RTL display and an updated Hebrew translation file.
1. Comprehensive RTL Support for Email Templates
The Problem:
The default email templates do not render correctly for users of RTL languages (like Hebrew, Arabic). This leads to several critical UI issues, including incorrect text alignment, broken bidirectional text flow (BiDi), and improper layout order.
The Solution:
I have modified all user and customer-facing email templates to be fully dynamic and bidirectional. The templates now use the existing \Helper::isLocaleRtl() function to conditionally apply the correct CSS (direction, text-align, unicode-bidi) and layout structure. This ensures a seamless and native experience for all users.
2. Updated Hebrew (he) Translation
I have also gone through the Hebrew translation and made significant updates and corrections to improve clarity and accuracy throughout the application.
How to Implement:
I have attached a single ZIP file containing all the necessary files in their correct directory structure. To apply the changes, simply extract the contents of the ZIP file into the root directory of the project.
This package includes:
- All modified
.blade.phpemail templates. - One new partial file (
_notification_thread_action.blade.php). - The updated Hebrew translation file(s).
I believe these changes will greatly enhance the user experience for your growing international community.
Thank you for your amazing work on this project!
Best regards,