-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weโll occasionally send you account related emails.
Already on GitHub? Sign in to your account
๐ style: Add Vietnamese files and add the vi-VN option in the General Settings #860
Conversation
๐จ chore: Add Vietnamese files and add vi-VN option in the General Settings
@CongLeSolutionX is attempting to deploy a commit to the LobeHub Team on Vercel. A member of the Team first needs to authorize it. |
๐ @CongLeSolutionX Thank you for raising your pull request and contributing to our Community |
๐ analytic: Add SpeedInsights to track speed performance on Vercel
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please add the vi-VN
into the i18nrc.js
and run npm run i18n
.
https://github.com/lobehub/lobe-chat/blob/main/.i18nrc.js#L7
we won't update the i18n manually. So we use lobe-i18n
to auto translate locale.
You can check simmiliar pr like: #759
Codecov ReportAll modified and coverable lines are covered by tests โ
Additional details and impacted files@@ Coverage Diff @@
## main #860 +/- ##
==========================================
- Coverage 87.37% 84.95% -2.42%
==========================================
Files 173 167 -6
Lines 7801 7506 -295
Branches 857 760 -97
==========================================
- Hits 6816 6377 -439
- Misses 985 1129 +144 โ View full report in Codecov by Sentry. |
Thanks for your feedback, let me update this PR |
Hi @arvinxx, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your great job!
The latest updates on your projects. Learn more about Vercel for Git โ๏ธ
|
โค๏ธ Great PR @CongLeSolutionX โค๏ธ The growth of project is inseparable from user feedback and contribution, thanks for your contribution! If you are interesting with the lobehub developer community, please join our discord and then dm @arvinxx or @canisminor1990. They will invite you to our private developer channel. We are talking about the lobe-chat development or sharing ai newsletter around the world. |
### [Version 0.118.8](v0.118.7...v0.118.8) <sup>Released on **2024-01-03**</sup> #### ๐ Styles - **misc**: Add Vietnamese files and add the vi-VN option in the General Settings. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### Styles * **misc**: Add Vietnamese files and add the vi-VN option in the General Settings, closes [#860](#860) ([c2e5606](c2e5606)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div>
๐ This PR is included in version 0.118.8 ๐ The release is available on: Your semantic-release bot ๐ฆ๐ |
### [Version 1.0.15](v1.0.14...v1.0.15) <sup>Released on **2024-01-03**</sup> #### ๐ Styles - **misc**: Add Vietnamese files and add the vi-VN option in the General Settings. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### Styles * **misc**: Add Vietnamese files and add the vi-VN option in the General Settings, closes [lobehub#860](https://github.com/bentwnghk/lobe-chat/issues/860) ([c2e5606](c2e5606)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div>
### [Version 0.118.8](lobehub/lobe-chat@v0.118.7...v0.118.8) <sup>Released on **2024-01-03**</sup> #### ๐ Styles - **misc**: Add Vietnamese files and add the vi-VN option in the General Settings. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### Styles * **misc**: Add Vietnamese files and add the vi-VN option in the General Settings, closes [#860](lobehub/lobe-chat#860) ([c2e5606](lobehub/lobe-chat@c2e5606)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div>
๐ป ๅๆด็ฑปๅ | Change Type
๐ ๅๆด่ฏดๆ | Description of Change
locales
folder, I added a foldervi-VN
. Inside that folder, I added the same json files used to support languges:src/locales/resources.ts
, I added code to support Vietnames, loading data from folder vi-VN.๐ Demo: