-
Notifications
You must be signed in to change notification settings - Fork 2.9k
WIP: Dev v2 spanish #10352
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
WIP: Dev v2 spanish #10352
Conversation
|
Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
| import ru from 'element-plus/es/locale/lang/ru'; | ||
| import ko from 'element-plus/es/locale/lang/ko'; | ||
| import tr from 'element-plus/es/locale/lang/tr'; | ||
| import esES from 'element-plus/es/locale/lang/es-es'; |
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.
@R3N3G element-plus中的名称是es,这里引用有问题,保持一致都使用es作为语言的简写比较好
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.
It's ok, exists more references (es-ES, es-CA. es-AR...) . My target in my commits is es-ES from Spain traditional
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.
Okay, but the 'element-plus/es/local/lang/es-es' path does not exist. The correct reference is' element-plus/es/local/lang/es';
feat: Support watermark (1Panel-dev#10378) timeline
timeline fix: Optimize backup logic for cronjob (1Panel-dev#10308)
|
/lgtm |
This pull request adds support for Spanish (es-ES) localization throughout the backend and frontend of the application. The changes include updating data models, validation, language bundles, and frontend language selection, as well as adding a comprehensive Spanish translation file and improving the Spanish README documentation.
Backend internationalization and validation updates:
Esfield to theLocalestruct inagent/app/dto/app.goto support Spanish localization.Loginstruct incore/app/dto/auth.goto include'es-ES'in the allowed language options for validation.agent/i18n/i18n.goandcore/i18n/i18n.goby loadinglang/es-ES.yaml. [1] [2]core/i18n/lang/es-ES.yamlcontaining all necessary keys for backend error messages, commands, and system notifications.Frontend internationalization enhancements:
frontend/src/App.vueto supportes-es. [1] [2]App.Languagetype infrontend/src/api/interface/app.tsto include'es-es'.'es-ES'key infrontend/src/lang/index.ts. [1] [2]Documentation improvements:
README.es-es.mdand improved translation quality and terminology for clarity and consistency. [1] [2]Created Spanish files es-ES SpainFirst try