feat(localization): expand language support and enhance UI for user settings
All checks were successful
Deploy to production / deploy (push) Successful in 3m0s
All checks were successful
Deploy to production / deploy (push) Successful in 3m0s
- Added support for additional UI locales including Cebuano and Spanish, improving accessibility for a broader user base. - Updated language selection components in the AppHeader and SettingsWidget to reflect new language options, enhancing user experience. - Enhanced localization of various UI elements across components, ensuring consistent language representation and improved user engagement. - Implemented logic to synchronize user language preferences with backend settings, providing a seamless experience when changing languages.
This commit is contained in:
@@ -28,6 +28,7 @@ import cebActivate from './locales/ceb/activate.json';
|
||||
import cebError from './locales/ceb/error.json';
|
||||
import cebMessage from './locales/ceb/message.json';
|
||||
import cebSettings from './locales/ceb/settings.json';
|
||||
import cebAdmin from './locales/ceb/admin.json';
|
||||
import cebPasswordReset from './locales/ceb/passwordReset.json';
|
||||
import cebSocialNetwork from './locales/ceb/socialnetwork.json';
|
||||
import cebFriends from './locales/ceb/friends.json';
|
||||
@@ -124,6 +125,7 @@ const messages = {
|
||||
...cebError,
|
||||
...cebMessage,
|
||||
...cebSettings,
|
||||
...cebAdmin,
|
||||
...cebPasswordReset,
|
||||
...cebSocialNetwork,
|
||||
...cebFriends,
|
||||
@@ -178,7 +180,10 @@ const messages = {
|
||||
|
||||
const i18n = createI18n({
|
||||
locale: store.state.language,
|
||||
fallbackLocale: 'de',
|
||||
fallbackLocale: {
|
||||
ceb: ['en', 'de'],
|
||||
default: ['de']
|
||||
},
|
||||
messages
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user