Skip to content

feat: 다국어 지원 기능 추가#358

Merged
pooreumjung merged 11 commits into
developfrom
feature/#357-i18n-support
May 19, 2026
Merged

feat: 다국어 지원 기능 추가#358
pooreumjung merged 11 commits into
developfrom
feature/#357-i18n-support

Conversation

@pooreumjung
Copy link
Copy Markdown
Member

#️⃣ Issue Number

📝 요약(Summary)

사용자 언어 설정 기반의 다국어 응답을 지원하도록 i18n 관련 기능을 추가

  • 사용자 언어 설정(KO, EN, JA, VI)을 저장할 수 있도록 Language enum과 user.language 컬럼을 추가
  • 언어 설정 조회/수정 API를 추가
    • GET /users/language
    • PATCH /users/language
  • 마이페이지, 학과 조회, 단과대 조회 응답에서 사용자 언어에 맞는 이름을 반환하도록 수정
  • college, department, partnership_restaurant의 기존 이름 컬럼을 한국어 컬럼으로 변경하고, 영어/일본어/베트남어 이름 컬럼을 추가
  • 제휴 매장명도 사용자 언어 설정에 따라 반환되도록 수정
  • 마이페이지 응답이 사용자 언어에 맞는 학과/단과대명을 반환하는지 테스트를 추가

💬 공유사항 to 리뷰어

  • 다국어 이름은 요청한 언어의 번역값이 없으면 한국어 값으로 fallback되도록 처리
  • UserService는 클래스 레벨에 @Transactional import 호출 경로가 잘못 적용되어 있어 올바르게 수정

✅ PR Checklist

PR이 다음 요구 사항을 충족하는지 확인하세요.

  • 커밋 메시지 컨벤션에 맞게 작성했습니다.
  • 변경 사항에 대한 테스트를 했습니다.(버그 수정/기능에 대한 테스트).

@pooreumjung pooreumjung requested a review from eunseo9311 May 18, 2026 15:57
@pooreumjung pooreumjung self-assigned this May 18, 2026
@pooreumjung pooreumjung added the feat 개발, 구현 label May 18, 2026
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, 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

  • 다국어 지원 인프라 구축: Language enum을 추가하고 User 엔티티에 language 컬럼을 도입하여 사용자별 언어 설정을 저장할 수 있도록 했습니다.
  • 데이터베이스 스키마 확장: College, Department, PartnershipRestaurant 엔티티의 기존 이름 컬럼을 한국어 전용으로 변경하고, 영어/일본어/베트남어 컬럼을 추가하여 다국어 대응을 위한 데이터 구조를 마련했습니다.
  • API 및 비즈니스 로직 수정: 언어 설정 조회/수정 API를 신규 추가하고, 기존 마이페이지 및 학과/단과대 조회 로직이 사용자의 언어 설정에 따라 적절한 이름을 반환하도록 개선했습니다.
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 Assist

The 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 /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

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 .gemini/ folder in the base of the repository. Detailed instructions can be found here.

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

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

이번 풀 요청은 제휴 식당, 단과대, 학과 정보에 대한 다국어 지원(i18n) 기능을 도입합니다. Language 열거형을 추가하고 User 엔티티에 언어 설정을 반영하였으며, 사용자의 설정에 따라 현지화된 이름을 반환하도록 관련 서비스와 DTO를 수정했습니다. 또한 언어 설정 조회 및 수정을 위한 API와 데이터베이스 마이그레이션 스크립트가 포함되었습니다. 리뷰 피드백으로는 여러 엔티티에서 중복되는 언어별 이름 조회 로직을 공통 인터페이스로 추출할 것과, 성능 최적화를 위해 CustomUserDetails에 언어 정보를 포함하여 DB 조회를 줄일 것을 제안했습니다. 마지막으로 스타일 가이드에 따라 테스트 메서드명을 영문으로 수정할 것을 권고했습니다.

Comment thread src/main/java/ssu/eatssu/domain/user/service/UserService.java
Comment thread src/test/java/ssu/eatssu/domain/user/dto/MyPageResponseTest.java Outdated
@pooreumjung pooreumjung merged commit 33980a6 into develop May 19, 2026
@pooreumjung pooreumjung deleted the feature/#357-i18n-support branch May 19, 2026 06:37
@pooreumjung pooreumjung changed the title [Feat] 다국어 지원 기능 추가 feat: 다국어 지원 기능 추가 May 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat 개발, 구현

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feature: 다국어 지원 기능 추가

1 participant