MV [Solved] How do I properly map translated param names?

I've translated the param info of one of my plugins to Spanish, including it in the js file. When I have MV switch to Spanish, and the params of the plugin to their Spanish equivalents in the Plugin Manager... well, my code just doesn't work anymore. After a little debugging, I've found that the translated param names aren't being properly mapped to their original English ones.

Here's an example:
JavaScript:
/*:
    * ...Author info, desc, etc
    *
    * @param Graphic Width
    * @type number
    * @min 1
    * @default 300
    * @desc Sets the width of the nametag graphic. Ignored if Fit Graphic to Nametag is active.
    *
    * @param Graphic Height
    * @type number
    * @min 1
    * @default 100
    * @desc Sets the height of the nametag graphic. Ignored if Fit Graphic to Nametag is active.
    *
    * ...More params
    */

JavaScript:
/*:
    * ...Translated Author info, desc, etc
    *  @param Ancho del Gráfico
      * @type number
      * @min 1
      * @default 300
      * @desc Pone el ancho del gráfico del gafete. Ignorado si Queda el Gráfico al Gafete está activo.
      *
      * @param Altura del Gráfico
      * @type number
      * @min 1
      * @default 100
      * @desc Pone la altura del gráfico del gafete. Ignorado si Queda el Gráfico al Gafete está activo.
      *
    *
    * ...More translated params
    */



So, how do I fix this?
There is a @text directive that allows you to define a display name for a parameter. You should use the same @param value and simply translate the display name, e.g.
JavaScript:
/*
 * ...
 * @param Graphic Width
 * @text Ancho del Gráfico
 * @type number
 * @min 1
 * @default 300
 * @desc Pone el ancho del gráfico del gafete. Ignorado si Queda el Gráfico al Gafete está activo.
 * ...
 */

Edit: also, I think you can define custom headers for specific locales, e.g.
JavaScript:
// default language
/*:
 * @plugindesc description
 * @author author
 * @help Help
 * @param param name
 * ...
 */
// editor is running in japanese
/*:ja
 * @plugindesc japanese description
 * @author author
 * @help Japanese help
 * @param param name
 * @text jp param name
 * ...
 */
I'm guessing the locale code for spanish is es or something?
Thank you very much, that solved the problem ^_^

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/solved-how-do-i-properly-map-translated-param-names.139145/