Skip to content

Releases: centrust/nova-localization

V2.1.1

18 Dec 12:22
d76a69a
Compare
Choose a tag to compare
Merge pull request #6 from centrust/master

Add CSS example and language switch guidance to README

V2.1.0

18 Dec 12:15
Compare
Choose a tag to compare
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

18 Dec 11:33
Compare
Choose a tag to compare

README fix

V2.0.8

17 Dec 13:51
Compare
Choose a tag to compare
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

16 Dec 22:27
Compare
Choose a tag to compare
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

16 Dec 21:46
Compare
Choose a tag to compare
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

16 Dec 21:43
Compare
Choose a tag to compare
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

16 Dec 21:39
Compare
Choose a tag to compare
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

16 Dec 21:35
Compare
Choose a tag to compare
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.

V2.0.2

16 Dec 21:20
bcc0764
Compare
Choose a tag to compare
Merge pull request #5 from centrust/v3

Add LocalizationController and update namespaces