iobroker-heatingcontrol-vis icon indicating copy to clipboard operation
iobroker-heatingcontrol-vis copied to clipboard

separate language file

Open ericsboro opened this issue 4 years ago • 16 comments

Hi,

Your project is really amazing! Would it be anyhow possible to add separate language file with switch somewhere in setting? I'm from Ukraine and translating all important tags manually after every release :)

If you like the idea — I'm ready to do translation DE-EN-UA and in future can help to maintain it :)

ericsboro avatar Feb 27 '21 19:02 ericsboro

Hi, thanks for the interest. Its not so easy at it sounds, because a lot of Textdata also comes from the Adapter itself. So, i think its necesarry to involve also the HeatingControl Programmer @rg-engineering . If he sees a possibility to integratet different languages, then we can think about how.

Pittini avatar Feb 28 '21 10:02 Pittini

@ericsboro you closed that issue while I started on adapter side. Do you still need that translation?

rg-engineering avatar Mar 15 '21 18:03 rg-engineering

@ericsboro you closed that issue while I started on adapter side. Do you still need that translation?

I thought you are not really interested in major adapter update, so I closed issue. But translation at least to english would really nice to have :) If there’s anything I can do to help - I will be glad to participate :)

ericsboro avatar Mar 15 '21 19:03 ericsboro

I'll implement it in adapter first. then we need to find a solution for widgets here...

rg-engineering avatar Mar 15 '21 21:03 rg-engineering

Cool! Thanks a ton your your efforts :)

ericsboro avatar Mar 15 '21 21:03 ericsboro

see my comment under https://github.com/rg-engineering/ioBroker.heatingcontrol/issues/225 about new Datapoints

rg-engineering avatar Mar 20 '21 09:03 rg-engineering

I used my translations in vis. (not finished everywhere, but almost) I pushed 3.1.3 version here: https://github.com/rg-engineering/iobroker-heatingcontrol-vis you also need 2.3.1 from adapter (available here https://github.com/rg-engineering/ioBroker.heatingcontrol)

@ericsboro if you like you can help to verify translations.

rg-engineering avatar Mar 29 '21 18:03 rg-engineering

guys, you are awesome :)

here's what i found not translated (with proposed translation to EN):

headers: Allgemeines (General), Uhrzeit (Clock), Wozi (Livingroom), Küche (Kitchen), Raumstatus (Room Status) subtitles: Profil 1 (Profile 1) in section "Times/week" -> Mo. to So. (Mo. to Su.) in separate room info: Screenshot 2021-03-30 at 11 49 21

ericsboro avatar Mar 30 '21 09:03 ericsboro

Most of still not translated texts are my part, but sorry, im very busy atm, ill do it if i found some time.

Pittini avatar Mar 30 '21 09:03 Pittini

@Pittini can i help with that?

ericsboro avatar Mar 30 '21 12:03 ericsboro

I'll continue here... I would not translate the room-dependent names, as these views have to be configured by the user himself (own data points, etc.) Here we add only templates which could be used by user, but in any case he needs to configure it to his own needs.

BTW @ericsboro : You can find all translations here: https://github.com/rg-engineering/ioBroker.heatingcontrol/blob/master/lib/vis_words.js If you like you can change it there and create PullRequest

rg-engineering avatar Apr 02 '21 13:04 rg-engineering

Working on it now. Found the following Issues:

  1. heatingcontrol.0.vis.translations.cardHzngMoFrSaSu.SaSu has Text: Sa. bis Su. - should be Sa. bis So.
  2. Missing translation for Infomsg Text: "Steuerelemente ausgeblendet, keine Absenkmethode gewählt." at heatingcontrol.0.vis.translations.cardHzngProfilParam
  3. Missing Translation for caption "Profilparam." at heatingcontrol.0.vis.translations.cardHzngProfilParam
  4. Missing Translation for caption "Allgemeines" at heatingcontrol.0.vis.translations.cardHzngGlobals
  5. Missing Translation for caption Raumstatus for cardHzngRooms
  6. Missing Translation for Navbar Text "Aktives Profil" and "Raum" for abar

Pittini avatar Apr 03 '21 10:04 Pittini

see my comments:

  • heatingcontrol.0.vis.translations.cardHzngMoFrSaSu.SaSu has Text: Sa. bis Su. - should be Sa. bis So. -> will be available with next commit

  • Missing translation for Infomsg Text: "Steuerelemente ausgeblendet, keine Absenkmethode gewählt." at heatingcontrol.0.vis.translations.cardHzngProfilParam -> you'll find it under heatingcontrol.0.vis.translations.cardHzngProfilParam.HintNotEnabled

  • Missing Translation for caption "Profilparam." at heatingcontrol.0.vis.translations.cardHzngProfilParam -> will be available with next commit

  • Missing Translation for caption "Allgemeines" at heatingcontrol.0.vis.translations.cardHzngGlobals -> you'll find it under heatingcontrol.0.vis.translations.cardHzngGlobals.General

  • Missing Translation for caption Raumstatus for cardHzngRooms -> you'll find it under heatingcontrol.0.vis.translations.cardHzngRooms.RoomState

  • Missing Translation for Navbar Text "Aktives Profil" and "Raum" for abar -> you'll find it under heatingcontrol.0.vis.translations.tnav.ActiveProfile and heatingcontrol.0.vis.translations.tnav.Room

rg-engineering avatar Apr 03 '21 14:04 rg-engineering

Its done. Added copy Buttons also. See V-3.2.0

Pittini avatar Apr 04 '21 21:04 Pittini

@ericsboro Und wer übersetzt jetzt die readme/Installationsanweisung auf russisch? :)

Pittini avatar Apr 05 '21 10:04 Pittini

@Pittini i can check translation EN-RU.

ericsboro avatar Apr 05 '21 11:04 ericsboro