Add Manage Localization Page #285
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #124
This pull request introduces a new "Manage Localization" feature and reorganizes localization-related settings. The changes include updates to the language files, adjustments to the settings structure, and the addition of a dedicated
ManageLocalization
page.New "Manage Localization" Feature:
resources/lang/en/navigation.php
: Added a new navigation item for "Manage Localization."resources/lang/en/settings.php
: Created a newmanage_localization
section with labels for locale, timezone, and toggles like "Show Timezone."src/Filament/Pages/Settings/ManageLocalization.php
: Added a newManageLocalization
settings page with form components for locale, timezone, and "Show Timezone" toggle.Reorganization of Localization Settings:
resources/lang/en/settings.php
: Removed localization-related labels (e.g., timezone) from themanage_cachet
section.src/Filament/Pages/Settings/ManageCachet.php
: Removed form components for timezone and "Show Timezone" toggle from theManageCachet
page. [1] [2]Backend Updates for Localization:
src/Settings/AppSettings.php
: Added new propertylocale
to theAppSettings
class for managing localization settings.