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.
This pull request introduces internationalization (i18n) support across various components in the app. The changes replace hardcoded text with localized strings using the
useI18n
composable, enabling dynamic translations based on the user's selected language. Additionally, placeholders, labels, and other UI elements now leverage localization for improved adaptability.Internationalization Integration:
Global i18n Setup in
app.vue
:locale
anddir
bindings for dynamic language and direction attributes in the HTML<html>
tag. [1] [2]locale
to theUApp
component for consistent localization throughout the app.Localization in Component Headers and Placeholders:
NotificationsSlideover.vue
: Updated the title and added a fallback message for empty notifications using localized strings. [1] [2]AddModal.vue
andDeleteModal.vue
: Replaced static modal titles, descriptions, and button labels with localized equivalents. [1] [2] [3]HomeDateRangePicker.vue
: Localized date range options and placeholder text. [1] [2]Dynamic Dropdown Menus and Tables:
UserMenu.vue
: Localized dropdown items for profile, billing, settings, themes, and templates, including a new language selection dropdown. [1] [2]HomeSales.vue
: Updated table headers and status badges for sales data with localized strings. [1] [2]Charts and Stats Localization:
HomeChart.client.vue
andHomeChart.server.vue
: Localized chart titles. [1] [2]HomeStats.vue
: Replaced static stat titles with localized keys for customers, conversions, revenue, and orders.These updates ensure that the application is ready for multilingual support, improving usability for users in different regions.