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

added vue-i18n package to pinry-spa with english support and locale changer to navigation bar #330

Merged
merged 7 commits into from
Apr 20, 2022

Conversation

dextor19
Copy link
Contributor

A request in issue 288 I saw there is a need for internationalization feature to allow international users of pinry to have the image boards translated into their language.

I have added a vue-i18n package to the pinry-spa to perform localization management. The main idea would be to extend the pinry-spa/src/assets/locales/en.json and additional json files for different languages.

Additionally I have added a example locale-changer that I have found on the intlify/vue-i18n-next documentation page. but please feel free to remove this and add in a better locale-changer dropdown.
https://vue-i18n.intlify.dev/guide/essentials/scope.html#global-scope-1

this is my first PR so if I have made any mistakes with the PR or changes please let me know.

@winkidney
Copy link
Member

It's very nice of you to add i18n support to Pinry.
Thank you for your contribution.
I'd like to have an review and make comments soon.

pinry-spa/src/assets/locales/en.json Outdated Show resolved Hide resolved
pinry-spa/src/components/PHeader.vue Show resolved Hide resolved
pinry-spa/src/main.js Outdated Show resolved Hide resolved
@winkidney
Copy link
Member

Thanks for your contribution again, and I have add my last change request Haha!

@winkidney
Copy link
Member

Will be merged, thanks again for your contribution : )

@winkidney winkidney merged commit adb004e into pinry:master Apr 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants