dckiller51 / bodymiscale

Custom_components Body Metrics for Xiaomi Miscale 1 and 2 (esphome or BLE monitor for Homeassistant)
Apache License 2.0
211 stars 33 forks source link

Change languaje #133

Closed Xesquy closed 1 year ago

Xesquy commented 1 year ago

Good, I want to know how to change the integration language, I also want to do the Spanish language. Thank you

dckiller51 commented 1 year ago

Hello, You can translate this into your language. Then I integrate it.

https://github.com/dckiller51/bodymiscale/blob/main/custom_components/bodymiscale/translations/en.json

exemple:

{
  "config": {
    "error": {
      "already_configured": "Ya configurado",
      "height_limit": "La altura es demasiado alta (límite: 220 cm)",
      "invalid_date": "Fecha inválida"
    },
dckiller51 commented 1 year ago

Good, I want to know how to change the integration language, I also want to do the Spanish language. Thank you

Did you look to translate into your native language.

Xesquy commented 1 year ago

Yes, excuse me, I was very busy and that's why I didn't do it.


From: dckiller51 @.> Sent: Saturday, January 14, 2023 11:37:37 AM To: dckiller51/bodymiscale @.> Cc: Xesquy @.>; Author @.> Subject: Re: [dckiller51/bodymiscale] Change languaje (Issue #133)

Good, I want to know how to change the integration language, I also want to do the Spanish language. Thank you

Did you look to translate into your native language.

— Reply to this email directly, view it on GitHubhttps://github.com/dckiller51/bodymiscale/issues/133#issuecomment-1382710341, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AS3AJ2QUWQZHOKG5VRUBPA3WSJ6XDANCNFSM6AAAAAASIIYWN4. You are receiving this because you authored the thread.Message ID: @.***>

Xesquy commented 1 year ago

It's already translated, anything you tell me


De: Alfonso Gonzalez Lopez @.> Enviado: sábado, 14 de enero de 2023 13:05 Para: dckiller51/bodymiscale @.>; dckiller51/bodymiscale @.> Cc: Author @.> Asunto: Re: [dckiller51/bodymiscale] Change languaje (Issue #133)

Yes, excuse me, I was very busy and that's why I didn't do it.


From: dckiller51 @.> Sent: Saturday, January 14, 2023 11:37:37 AM To: dckiller51/bodymiscale @.> Cc: Xesquy @.>; Author @.> Subject: Re: [dckiller51/bodymiscale] Change languaje (Issue #133)

Good, I want to know how to change the integration language, I also want to do the Spanish language. Thank you

Did you look to translate into your native language.

— Reply to this email directly, view it on GitHubhttps://github.com/dckiller51/bodymiscale/issues/133#issuecomment-1382710341, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AS3AJ2QUWQZHOKG5VRUBPA3WSJ6XDANCNFSM6AAAAAASIIYWN4. You are receiving this because you authored the thread.Message ID: @.***>

Xesquy commented 1 year ago

De: Alfonso Gonzalez Lopez @.> Enviado: sábado, 14 de enero de 2023 13:05 Para: dckiller51/bodymiscale @.>; dckiller51/bodymiscale @.> Cc: Author @.> Asunto: Re: [dckiller51/bodymiscale] Change languaje (Issue #133)

Yes, excuse me, I was very busy and that's why I didn't do it.


From: dckiller51 @.> Sent: Saturday, January 14, 2023 11:37:37 AM To: dckiller51/bodymiscale @.> Cc: Xesquy @.>; Author @.> Subject: Re: [dckiller51/bodymiscale] Change languaje (Issue #133)

Good, I want to know how to change the integration language, I also want to do the Spanish language. Thank you

Did you look to translate into your native language.

— Reply to this email directly, view it on GitHubhttps://github.com/dckiller51/bodymiscale/issues/133#issuecomment-1382710341, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AS3AJ2QUWQZHOKG5VRUBPA3WSJ6XDANCNFSM6AAAAAASIIYWN4. You are receiving this because you authored the thread.Message ID: @.***>

dckiller51 commented 1 year ago

C'est déjà traduit, tout ce que tu me dis ____ De: Alfonso Gonzalez Lopez @.> Enviado: sábado, 14 de enero de 2023 13:05 Para: dckiller51/bodymiscale @.>; dckiller51/bodymiscale @.> Cc: Author @.> Asunto: Re: [dckiller51/bodymiscale] Change languaje (Issue #133) Yes, excuse me, I was very busy and that's why I didn't do it. ____ From: dckiller51 @.> Sent: Saturday, January 14, 2023 11:37:37 AM To: dckiller51/bodymiscale @.> Cc: Xesquy @.>; Author @.> Subject: Re: [dckiller51/bodymiscale] Change languaje (Issue #133) Good, I want to know how to change the integration language, I also want to do the Spanish language. Thank you Did you look to translate into your native language. — Reply to this email directly, view it on GitHub<#133 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AS3AJ2QUWQZHOKG5VRUBPA3WSJ6XDANCNFSM6AAAAAASIIYWN4. You are receiving this because you authored the thread.Message ID: @.***>

Where can I find your file that I embed? You can send it to me ?

Xesquy commented 1 year ago

I edited the file and clicked on propose changes but now I can't find it. You'd better create a new file in the translations folder


From: dckiller51 @.> Sent: Saturday, January 14, 2023 10:57:02 PM To: dckiller51/bodymiscale @.> Cc: Xesquy @.>; Author @.> Subject: Re: [dckiller51/bodymiscale] Change languaje (Issue #133)

C'est déjà traduit, tout ce que tu me dis … ____ De: Alfonso Gonzalez Lopez @.> Enviado: sábado, 14 de enero de 2023 13:05 Para: dckiller51/bodymiscale @.>; dckiller51/bodymiscale @.> Cc: Author @.> Asunto: Re: [dckiller51/bodymiscale] Change languaje (Issue #133https://github.com/dckiller51/bodymiscale/issues/133) Yes, excuse me, I was very busy and that's why I didn't do it. ____ From: dckiller51 @.> Sent: Saturday, January 14, 2023 11:37:37 AM To: dckiller51/bodymiscale @.> Cc: Xesquy @.>; Author @.> Subject: Re: [dckiller51/bodymiscale] Change languaje (Issue #133https://github.com/dckiller51/bodymiscale/issues/133) Good, I want to know how to change the integration language, I also want to do the Spanish language. Thank you Did you look to translate into your native language. — Reply to this email directly, view it on GitHub<#133 (comment)https://github.com/dckiller51/bodymiscale/issues/133#issuecomment-1382710341>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AS3AJ2QUWQZHOKG5VRUBPA3WSJ6XDANCNFSM6AAAAAASIIYWN4. You are receiving this because you authored the thread.Message ID: @.***>

Where can I find your file that I embed? You can send it to me ?

— Reply to this email directly, view it on GitHubhttps://github.com/dckiller51/bodymiscale/issues/133#issuecomment-1382933446, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AS3AJ2W6XXSZOMKJ5MK4GYDWSMOK5ANCNFSM6AAAAAASIIYWN4. You are receiving this because you authored the thread.Message ID: @.***>

dckiller51 commented 1 year ago

I edited the file and clicked on propose changes but now I can't find it. You'd better create a new file in the translations folder ____ From: dckiller51 @.> Sent: Saturday, January 14, 2023 10:57:02 PM To: dckiller51/bodymiscale @.> Cc: Xesquy @.>; Author @.> Subject: Re: [dckiller51/bodymiscale] Change languaje (Issue #133) C'est déjà traduit, tout ce que tu me dis … ____ De: Alfonso Gonzalez Lopez @.> Enviado: sábado, 14 de enero de 2023 13:05 Para: dckiller51/bodymiscale @.>; dckiller51/bodymiscale @.> Cc: Author @.> Asunto: Re: [dckiller51/bodymiscale] Change languaje (Issue #133<#133>) Yes, excuse me, I was very busy and that's why I didn't do it. ____ From: dckiller51 @.> Sent: Saturday, January 14, 2023 11:37:37 AM To: dckiller51/bodymiscale @.> Cc: Xesquy @.>; Author @.> Subject: Re: [dckiller51/bodymiscale] Change languaje (Issue #133<#133>) Good, I want to know how to change the integration language, I also want to do the Spanish language. Thank you Did you look to translate into your native language. — Reply to this email directly, view it on GitHub<#133 (comment)<#133 (comment)>>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AS3AJ2QUWQZHOKG5VRUBPA3WSJ6XDANCNFSM6AAAAAASIIYWN4. You are receiving this because you authored the thread.Message ID: @.> Where can I find your file that I embed? You can send it to me ? — Reply to this email directly, view it on GitHub<#133 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AS3AJ2W6XXSZOMKJ5MK4GYDWSMOK5ANCNFSM6AAAAAASIIYWN4. You are receiving this because you authored the thread.Message ID: @.>

{
  "config": {
    "error": {
      "already_configured": "Already configured",
      "height_limit": "Height is too high (limit: 220 cm)",
      "invalid_date": "Invalid date"
    },
    "step": {
      "options": {
        "data": {
          "height": "Height",
          "impedance": "Impedance sensor",
          "weight": "Weight sensor"
        },
        "data_description": {
          "impedance": "If your scale does not provide the impedance, leave this field empty."
        }
      },
      "user": {
        "data": {
          "birthday": "Birthday",
          "gender": "Gender",
          "name": "Name"
        }
      }
    }
  },
  "options": {
    "step": {
      "init": {
        "data": {
          "height": "Height",
          "impedance": "Impedance sensor",
          "weight": "Weight sensor"
        },
        "data_description": {
          "impedance": "If your scale does not provide the impedance, leave this field empty."
        }
      }
    }
  },
  "state": {
    "_": {
      "ok": "OK",
      "problem": "Problem"
    }
  }
}

Do like me. I take care of the rest.

Xesquy commented 1 year ago

Here you have the Spanish translation.

De: @.> Enviado: domingo, 15 de enero de 2023 0:55 Para: @.> CC: @.>; @.> Asunto: Re: [dckiller51/bodymiscale] Change languaje (Issue #133)

I edited the file and clicked on propose changes but now I can't find it. You'd better create a new file in the translations folder … ____ From: dckiller51 @.> Sent: Saturday, January 14, 2023 10:57:02 PM To: dckiller51/bodymiscale @.> Cc: Xesquy @.>; Author @.> Subject: Re: [dckiller51/bodymiscale] Change languaje (Issue #133https://github.com/dckiller51/bodymiscale/issues/133) C'est déjà traduit, tout ce que tu me dis … ____ De: Alfonso Gonzalez Lopez @.> Enviado: sábado, 14 de enero de 2023 13:05 Para: dckiller51/bodymiscale @.>; dckiller51/bodymiscale @.> Cc: Author @.> Asunto: Re: [dckiller51/bodymiscale] Change languaje (Issue #133https://github.com/dckiller51/bodymiscale/issues/133<#133https://github.com/dckiller51/bodymiscale/issues/133>) Yes, excuse me, I was very busy and that's why I didn't do it. ____ From: dckiller51 @.> Sent: Saturday, January 14, 2023 11:37:37 AM To: dckiller51/bodymiscale @.> Cc: Xesquy @.>; Author @.> Subject: Re: [dckiller51/bodymiscale] Change languaje (Issue #133https://github.com/dckiller51/bodymiscale/issues/133<#133https://github.com/dckiller51/bodymiscale/issues/133>) Good, I want to know how to change the integration language, I also want to do the Spanish language. Thank you Did you look to translate into your native language. — Reply to this email directly, view it on GitHub<#133https://github.com/dckiller51/bodymiscale/issues/133 (comment)<#133 (comment)https://github.com/dckiller51/bodymiscale/issues/133#issuecomment-1382710341>>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AS3AJ2QUWQZHOKG5VRUBPA3WSJ6XDANCNFSM6AAAAAASIIYWN4. You are receiving this because you authored the thread.Message ID: @.> Where can I find your file that I embed? You can send it to me ? — Reply to this email directly, view it on GitHub<#133 (comment)https://github.com/dckiller51/bodymiscale/issues/133#issuecomment-1382933446>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AS3AJ2W6XXSZOMKJ5MK4GYDWSMOK5ANCNFSM6AAAAAASIIYWN4. You are receiving this because you authored the thread.Message ID: @.>

{

"config": {

"error": {

  "already_configured": "Already configured",

  "height_limit": "Height is too high (limit: 220 cm)",

  "invalid_date": "Invalid date"

},

"step": {

  "options": {

    "data": {

      "height": "Height",

      "impedance": "Impedance sensor",

      "weight": "Weight sensor"

    },

    "data_description": {

      "impedance": "If your scale does not provide the impedance, leave this field empty."

    }

  },

  "user": {

    "data": {

      "birthday": "Birthday",

      "gender": "Gender",

      "name": "Name"

    }

  }

}

},

"options": {

"step": {

  "init": {

    "data": {

      "height": "Height",

      "impedance": "Impedance sensor",

      "weight": "Weight sensor"

    },

    "data_description": {

      "impedance": "If your scale does not provide the impedance, leave this field empty."

    }

  }

}

},

"state": {

"_": {

  "ok": "OK",

  "problem": "Problem"

}

}

}

Do like me. I take care of the rest.

— Reply to this email directly, view it on GitHubhttps://github.com/dckiller51/bodymiscale/issues/133#issuecomment-1382967562, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AS3AJ2ROY2PYB6PCEOEVOR3WSM4INANCNFSM6AAAAAASIIYWN4. You are receiving this because you authored the thread.Message ID: @.***>

Xesquy commented 1 year ago

{

"config": {

"error": {

  "already_configured": "Ya configurado",

  "height_limit": "La altura es demasiado alta (limite: 220 cm)",

  "invalid_date": "Fecha invalida"

},

"step": {

  "options": {

    "data": {

      "height": "Peso",

      "impedance": "Sensor de immpedancia",

      "weight": "Sensor de peso"

    },

    "data_description": {

      "impedance": "Si su báscula no proporciona la impedancia, deje este campo vacío."

    }

  },

  "user": {

    "data": {

      "birthday": "Cumpleaños",

      "gender": "Genero",

      "name": "Nombre"

    }

  }

}

},

"options": {

"step": {

  "init": {

    "data": {

      "height": "Peso",

      "impedance": "Sensor de impedancia",

      "weight": "Sensor de peso"

    },

    "data_description": {

      "impedance": "Si su báscula no proporciona la impedancia, deje este campo vacío."

    }

  }

}

},

"state": {

"_": {

  "ok": "OK",

  "problem": "Problema"

}

}

}

dckiller51 commented 1 year ago

update v3.0.6