Skip to content
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

Front/feat/add multiple language #17

Merged
merged 4 commits into from
Aug 20, 2024
Merged

Conversation

seonjo1
Copy link
Contributor

@seonjo1 seonjo1 commented Aug 20, 2024

주요 구현 사항

  • 다국어 지원 완료!!

  • match history에서 타임 스탬프도 파싱해서 붙였습니다!

  • Main Menu

스크린샷 2024-08-20 오후 7 11 41 스크린샷 2024-08-20 오후 7 11 51 스크린샷 2024-08-20 오후 7 11 58
  • Friends Page
스크린샷 2024-08-20 오후 7 15 27 스크린샷 2024-08-20 오후 7 15 42 스크린샷 2024-08-20 오후 7 17 10
  • Profile Page
스크린샷 2024-08-20 오후 7 17 22 스크린샷 2024-08-20 오후 7 17 41 스크린샷 2024-08-20 오후 7 17 58 스크린샷 2024-08-20 오후 7 17 32 스크린샷 2024-08-20 오후 7 17 51 스크린샷 2024-08-20 오후 7 18 04

리뷰어 참고 사항

  • 조액트수정 사항!!
    • 컴포넌트 생성시 props에 가장 root 컴포넌트인 app의 language 변수를 추가해줘 현재 언어 state를 확인하는 기능 추가
    • this.props.lan.value 가 0이면 영어 1이면 한국어 2면 일본어 패치
    • component 객체의 translate 함수에서 this.props.lan.value에 따라 객체 변수인 translations 에 번역본들을 지정해줘서 html에서 사용
    • 대충 main menu나 friends, profile, edit 컴포넌트를 보면 알 수 있음!!

Copy link
Member

@minseok128 minseok128 left a comment

Choose a reason for hiding this comment

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

위험한 일본 사이트네요

@minseok128 minseok128 merged commit 77a8974 into main Aug 20, 2024
2 checks passed
@seonjo1
Copy link
Contributor Author

seonjo1 commented Aug 21, 2024

하지만 멋있죠?

@seonjo1 seonjo1 deleted the front/feat/add-multiple-language branch August 22, 2024 00:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants