apache / apisix-dashboard

Dashboard for Apache APISIX
https://apisix.apache.org/
Apache License 2.0
1.01k stars 527 forks source link

Need more language support #1407 #2924

Open gauravs1018 opened 9 months ago

gauravs1018 commented 9 months ago

Issue

Resolves #1407

Summary

This merge request addresses the internationalization (i18n) enhancement request to add Hindi language support to APISIX Dashboard.

Changes Made

  1. Global Locales: Added Hindi translations to the global locales file located at src/locales.
  2. Page-Specific Locales: Modified the Hindi translations for each page in their respective locale files under src/pages/$PAGE/locales.
  3. Component-Specific Locales: Updated the Component's locale file with Hindi translations under src/components/$COMPONENT/locales.

Implementation Details

Utilized key-based translation for consistency across all locales.

Additional Notes:

Please review and provide feedback on the implementation of Hindi language support. Ensure that the changes align with the project's coding standards and best practices.

Reference:

Utilized guidelines from User Guide for making these changes.

Conclusion

This merge request contributes to enhancing the APISIX Dashboard's internationalization capabilities, specifically by introducing Hindi language support. The changes are comprehensive.

codecov-commenter commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (ad697c6) 69.08% compared to head (f691e8e) 69.03%.

:exclamation: Current head f691e8e differs from pull request most recent head 7d2e4c3. Consider uploading reports for the commit 7d2e4c3 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2924 +/- ## ========================================== - Coverage 69.08% 69.03% -0.06% ========================================== Files 139 139 Lines 3746 3746 Branches 881 881 ========================================== - Hits 2588 2586 -2 - Misses 1158 1160 +2 ``` | [Flag](https://app.codecov.io/gh/apache/apisix-dashboard/pull/2924/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | | |---|---|---| | [frontend-e2e-test](https://app.codecov.io/gh/apache/apisix-dashboard/pull/2924/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `69.03% <ø> (-0.06%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.