Approved Add a language parameter for the /analysis command

Marcell

cherish the little things in life
is a Contributor to Smogonis a Smogon Media Contributoris a Site Content Manager Alumnusis a Social Media Contributor Alumnusis a Forum Moderator Alumnus
Hey,

this might be a bit difficult to implement, but I think an additional language parameter for the /analysis command would be very helpful to shed more light on the translated analyses currently available in the smogdex. This way, they would be much easier to access aswell, as the link would redirect directly to the respective translated smogdex analysis.

The additional parameter would be the same used for all the available languages in the smogdex, like "de" for german or "pt" for portuguese.

Here is an example: /analysis pokemon, [language parameter], [tier]

Other parameters would be optional; by just using the language tag, it would redirect to the newest analysis available in the code. By using additonal parameters next to the language parameter, the desired analysis would be more precise, in case there are different analyses for a single pokemon.

Of course, in the event that there's no such analysis available in the requested language, it would just redirect the URL to the default english one.

Thank you!
 

Users Who Are Viewing This Thread (Users: 1, Guests: 0)

Top