You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug
Switching the application language from English to a non-English option (e.g., Arabic) and then back to English causes the routing to break. Specifically:
Routes fail to update correctly, leading to inconsistent navigation behavior.
Some pages are not fully translated into the selected secondary language, resulting in partial content translations.
Steps to Reproduce
Open the application, starting with the default English language setting.
Change the language to Arabic (or any non-English option) using the language switcher.
Switch back to English using the language switcher.
Observe the following issues:
4.1: The routes fail to update correctly and may not display the expected English content.
4.2: Navigation to another route temporarily resolves the issue, suggesting a refresh problem.
4.3: When in Arabic, certain pages are only partially translated, indicating incomplete translations.
Expected Behavior
Switching back to English should restore English routes and content seamlessly, without additional user action.
When selecting a non-English language (e.g., Arabic), all pages should display complete and accurate translations.
Actual Behavior
Returning to English causes routing issues, with inconsistent content and navigation.
Some pages remain untranslated or partially translated when switching to a non-English language (e.g., Arabic).
Navigating to another route temporarily resolves the routing issue.
Screenshots
Environment
Browser: FireFox
OS: Majaro Linux
Node: 10.9.0
Possible Causes
Route Refresh Logic: Improper handling of route updates during language transitions.
State Management Issues: Cached or inconsistent state is not being properly cleared.
Translation Files: Missing or incomplete translations for some pages in the secondary language (e.g., Arabic).
Proposed Solutions
Route Handling:
Ensure route updates are correctly triggered and refreshed during language switches.
State Management:
Investigate state handling (e.g., Redux, Vuex, Context API) and verify proper state reinitialization during language changes.
Translation Files:
Validate that all translation files are complete and accurately loaded when switching languages.
Testing:
Introduce automated tests to verify routing and translation behavior for all supported languages.
Additional Context
The issue could stem from the i18n implementation or the interaction between the language switcher and the routing system.
Refer to relevant documentation for i18n troubleshooting (e.g., Vue I18n, React-i18next, or another library specific to the project).
The text was updated successfully, but these errors were encountered:
@MZain-ul-Abideen this issue was automatically closed because it did not follow the bellow rules:
IMPORTANT: Please use the following link to create a new issue:
https://www.creative-tim.com/new-issue/vue-black-dashboard
**If your issue was not created using the app above, it will be closed immediately.**
Love Creative Tim? Do you need Angular, React, Vuejs or HTML? You can visit:
👉 https://www.creative-tim.com/bundles
👉 https://www.creative-tim.com
Bug
Switching the application language from English to a non-English option (e.g., Arabic) and then back to English causes the routing to break. Specifically:
Steps to Reproduce
Expected Behavior
Actual Behavior
Screenshots
Environment
Possible Causes
Proposed Solutions
Ensure route updates are correctly triggered and refreshed during language switches.
Investigate state handling (e.g., Redux, Vuex, Context API) and verify proper state reinitialization during language changes.
Validate that all translation files are complete and accurately loaded when switching languages.
Introduce automated tests to verify routing and translation behavior for all supported languages.
Additional Context
The text was updated successfully, but these errors were encountered: