RankyList / ranky-list

Your go-to tier list-sharing tool.
MIT License
3 stars 0 forks source link

[FEATURE] Translations #28

Open YummYume opened 1 year ago

YummYume commented 1 year ago

Type of feature

Something new

The name of the feature

Translations

Feature description

Translating RankyList is one of the most important aspects to reach a wider audience. Here's how it would go down :

The second option is fairly easy to implement, we just need to know about where to ask for the user's language.

For the first option, although packages for translation already exist, I don't feel like it's a good idea to use them now. Instead, we should wait to see an official release from SvelteKit (see this issue).

We definitely want to render translations server-side to avoid loading them in the front end and also so it can work without Javascript.

Additional information

It should also be possible to select multiple languages when sorting of course, but only one language would be allowed per tier list.

About the possible libraries we could use :

For now, unless we really need it, let's wait and see if SvelteKit releases anything for translations any time soon. I know it's on their roadmap (see this issue too).

Code of Conduct