HugoLAMOUREUX / Spotidata

Web application linked to Spotify that shows some statistics about your music tastes and miscellaneous informations
MIT License
4 stars 5 forks source link

New frontend functionnality : Russian translation #49

Closed HugoLAMOUREUX closed 1 year ago

HugoLAMOUREUX commented 1 year ago

Start Date

No response

Implementation PR

No response

Reference Issues

No response

Summary

The goal is to add a russian translation. Open the file "/front/src/i18n.jsx" and in the json object you can change what's under ru : You'll have to translate the sentences from english to russian. You'll simply need to modify the strings and put them in russian instead of english. I'll add a button later on to select the russian language

Basic Example

ru: { translation: { login: "Login with Spotify",

become : ru: { translation: { login: "Войти через Spotify",

(maybe the translation isn't correct)

Drawbacks

allow the russian people to use our app

Unresolved questions

No response

IgKuzx commented 1 year ago

Will do this

IgKuzx commented 1 year ago

Hey, I made a translation but when I am trying to push, it says I don't have writte permission. Should you grant me permission or how does it work?

IgKuzx commented 1 year ago

Never mind, I think I figured it out. I had to fork it and then push. Can you see it?

HugoLAMOUREUX commented 1 year ago

Yes everything is good ! Thank you for your contribution !