feat: 다국어 지원 기능 추가#358
Conversation
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! 이 PR은 사용자의 언어 설정(KO, EN, JA, VI)에 따라 맞춤형 응답을 제공하기 위한 다국어 지원 기능을 구현합니다. 데이터베이스 스키마를 확장하여 다국어 이름을 저장하고, 서비스 계층에서 사용자 언어 설정에 기반한 동적 응답을 생성하도록 로직을 수정했습니다. 또한, 관련 API를 추가하고 마이페이지 응답에 대한 테스트를 통해 기능의 정확성을 검증했습니다. Highlights
New Features🧠 You can now enable Memory (public preview) to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize the Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counterproductive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. 언어의 벽을 넘어선 코드, 사용자 곁에 다가선 이름들. 한국어 너머 세계를 향해, 이제는 어디서든 편안하게, 우리의 서비스가 말을 건네네. Footnotes
|
There was a problem hiding this comment.
Code Review
이번 풀 요청은 제휴 식당, 단과대, 학과 정보에 대한 다국어 지원(i18n) 기능을 도입합니다. Language 열거형을 추가하고 User 엔티티에 언어 설정을 반영하였으며, 사용자의 설정에 따라 현지화된 이름을 반환하도록 관련 서비스와 DTO를 수정했습니다. 또한 언어 설정 조회 및 수정을 위한 API와 데이터베이스 마이그레이션 스크립트가 포함되었습니다. 리뷰 피드백으로는 여러 엔티티에서 중복되는 언어별 이름 조회 로직을 공통 인터페이스로 추출할 것과, 성능 최적화를 위해 CustomUserDetails에 언어 정보를 포함하여 DB 조회를 줄일 것을 제안했습니다. 마지막으로 스타일 가이드에 따라 테스트 메서드명을 영문으로 수정할 것을 권고했습니다.
#️⃣ Issue Number
📝 요약(Summary)
사용자 언어 설정 기반의 다국어 응답을 지원하도록 i18n 관련 기능을 추가
KO,EN,JA,VI)을 저장할 수 있도록Languageenum과user.language컬럼을 추가GET /users/languagePATCH /users/languagecollege,department,partnership_restaurant의 기존 이름 컬럼을 한국어 컬럼으로 변경하고, 영어/일본어/베트남어 이름 컬럼을 추가💬 공유사항 to 리뷰어
UserService는 클래스 레벨에@Transactionalimport 호출 경로가 잘못 적용되어 있어 올바르게 수정✅ PR Checklist
PR이 다음 요구 사항을 충족하는지 확인하세요.