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

Implemented language switcher (#30yqppq) #153

Merged
merged 11 commits into from
Nov 23, 2022
Merged

Implemented language switcher (#30yqppq) #153

merged 11 commits into from
Nov 23, 2022

Conversation

alsoK2maan
Copy link
Contributor

Related Issues

Closes #141

Short Description and Why It's Useful

Implemented the language switcher feature on the settings page for English and Japanese.

Screenshots of Visual Changes before/after (If There Are Any)

Bopis - HotWax Commerce
Bopis - HotWax Commerce (1)

Contribution and Currently Important Rules Acceptance

package-lock.json Outdated Show resolved Hide resolved
src/store/modules/user/UserState.ts Outdated Show resolved Hide resolved
src/store/modules/user/actions.ts Outdated Show resolved Hide resolved
src/views/Settings.vue Outdated Show resolved Hide resolved
src/views/Settings.vue Outdated Show resolved Hide resolved
src/views/Settings.vue Outdated Show resolved Hide resolved
})
},
mounted() {
Copy link
Contributor

Choose a reason for hiding this comment

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

I think you missed it

@@ -100,6 +113,9 @@ export default defineComponent({
},
setShowPackingSlipPreference (ev: any){
this.store.dispatch('user/setUserPreference', { showPackingSlip: ev.detail.checked })
},
switchLocale(locale: any) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
switchLocale(locale: any) {
setLocale(locale: any) {

@adityasharma7 adityasharma7 merged commit 24b6c6a into hotwax:develop Nov 23, 2022
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.

Add option to change language
4 participants