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

feat: language preference for mifinity added #502

Merged
merged 2 commits into from
Jul 17, 2024
Merged

Conversation

sakksham7
Copy link
Contributor

Type of Change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring
  • Dependency updates
  • Documentation
  • CI/CD

Description

added language preference for mifinity
if the language passed by merchant is supported by mifinity then we pass it as same, else if the language passed is auto then we take language from browser, else we pass "en".

How did you test it?

tested by firstly passing supported language locale , the sdk was rendered in the provided language, then passed the locale as "auto", the sdk rendered in browser specified language, then passed an unsupported and empty locale, in this case the english language was shown.

Checklist

  • I ran npm run re:build
  • I reviewed submitted code
  • I added unit tests for my changes where possible

@PritishBudhiraja PritishBudhiraja linked an issue Jul 16, 2024 that may be closed by this pull request
@PritishBudhiraja PritishBudhiraja added the Ready for Review PR with label Ready for Review should only be reviewed. label Jul 16, 2024
src/Window.res Show resolved Hide resolved
@seekshiva seekshiva merged commit f9f15ca into main Jul 17, 2024
3 checks passed
@seekshiva seekshiva deleted the locale-support branch July 17, 2024 07:15
@github-actions github-actions bot added the Closed Label will be automatically added when the PR will get merged to main label Jul 17, 2024
akash-c-k pushed a commit that referenced this pull request Jul 17, 2024
# [0.76.0](v0.75.0...v0.76.0) (2024-07-17)

### Features

* language preference for mifinity added ([#502](#502)) ([f9f15ca](f9f15ca))
@PritishBudhiraja PritishBudhiraja removed the Ready for Review PR with label Ready for Review should only be reviewed. label Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Closed Label will be automatically added when the PR will get merged to main
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add language support for Myfinity
3 participants