Releases: centrust/nova-localization
Releases · centrust/nova-localization
V2.1.1
V2.1.0
Update NovaLocalizationResource and README details Introduced a new public static variable `$clickAction` in `NovaLocalizationResource`. Also updated the README content for improved clarity on functionality, usage examples, and added emphasis on current language support (English and Arabic).
V2.0.9
V2.0.8
Add caching and Arabic support configuration Configuration options for caching and Arabic support (including font settings) have been implemented in nova-localization.php. This update also includes a revision of the README.md file, outlining these new features and their usage. Arabic support includes loading Arabic font from Google Fonts and defining a path to CSS file for the Arabic font family.
V2.0.7
Adjust user switch in LocalizationController The LocalizationController's user-switching method was amended to solve potential issues in updating user's locale. Instead of directly using the request's auth id method, the localized switch now uses \App\Models\User::find with the user's id from the request's method to ensure the right user is updated.
V2.0.6
Update user retrieval in LocalizationController Altered the user retrieval method in the LocalizationController. It previously used the request's user method directly, albeit it has been updated to employ \App\Models\User::find with the user id returned by the request's method to ensure the correct user is being updated. This will solve potential issues related to the user's locale not updating properly.
V2.0.5
Update user retrieval in LocalizationController Altered the user retrieval method in the LocalizationController. It previously used the request's user method directly, albeit it has been updated to employ \App\Models\User::find with the user id returned by the request's method to ensure the correct user is being updated. This will solve potential issues related to the user's locale not updating properly.
V2.0.4
Fix user locale update in LocalizationController Corrected an error where the static method was being called on an instance. Switched from $User::update to $User->update to correctly update the user's locale in the LocalizationController. This ensures the user's locale is updated properly when authenticated.
V2.0.3
Update user locale adjustments in NovaLocalizationServiceProvider Replaced auth()->user() method with a direct model call in NovaLocalizationServiceProvider. This change ensures that the user's locale is properly updated in the application even when the user is authenticated.