# LEARN A NEW SKILL: contribute to open source software by translating the app Power By The Hour

**URL:** <https://community.homey.app/t/learn-a-new-skill-contribute-to-open-source-software-by-translating-the-app-power-by-the-hour/65903>\
**Category:** Apps\
**Tags:** app, homey-pro\
**Created:** [July 12, 2022, 2:25pm UTC](https://community.homey.app/t/learn-a-new-skill-contribute-to-open-source-software-by-translating-the-app-power-by-the-hour/65903 "2022-07-12T14:25:41Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [July 14, 2022, 5:46pm UTC](https://community.homey.app/t/learn-a-new-skill-contribute-to-open-source-software-by-translating-the-app-power-by-the-hour/65903/21 "2022-07-14T17:46:44Z")

</div>

Just make sure to first fetch the new source code before changing anything. (Fetch upstream button on Github)

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [July 14, 2022, 5:48pm UTC](https://community.homey.app/t/learn-a-new-skill-contribute-to-open-source-software-by-translating-the-app-power-by-the-hour/65903/22 "2022-07-14T17:48:57Z")

</div>

I will also have to test the translation again when the app is released with the new language. I guess only then you can really check if the translations, the terms really make sense or not.  
I hope that corrections can possibly be made after the release, @Gruijter?

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [July 14, 2022, 5:51pm UTC](https://community.homey.app/t/learn-a-new-skill-contribute-to-open-source-software-by-translating-the-app-power-by-the-hour/65903/23 "2022-07-14T17:51:07Z")

</div>

> [@DirkG](#):
>
> I hope that corrections can possibly be made after the release

Definitely! As stated above first make sure your copy is in sync with the latest main code by doing `fetch upstream`. Then you can repeat all steps as before and push the changes back.

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [July 15, 2022, 5:50am UTC](https://community.homey.app/t/learn-a-new-skill-contribute-to-open-source-software-by-translating-the-app-power-by-the-hour/65903/24 "2022-07-15T05:50:47Z")

</div>

@sebyldino Thanks 4 translating to French! If you need help you can ask here.

---

<div class="post-metadata">

**Author:** ![Alessandro\_Rossi](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/alessandro_rossi/32/37432_2.png) [@Alessandro\_Rossi](https://community.homey.app/u/Alessandro_Rossi)\
**Post date:** [July 15, 2022, 7:07am UTC](https://community.homey.app/t/learn-a-new-skill-contribute-to-open-source-software-by-translating-the-app-power-by-the-hour/65903/25 "2022-07-15T07:07:17Z")

</div>

> [@Gruijter](#):
>
> No, see the first post. You only need basic PC skills. Just follow the how to.
> 
> Thx for translating Alessandro! I’ll put you on the list as well.

Italian 🇮🇹 translation completed! 😉

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [July 15, 2022, 7:27am UTC](https://community.homey.app/t/learn-a-new-skill-contribute-to-open-source-software-by-translating-the-app-power-by-the-hour/65903/26 "2022-07-15T07:27:02Z")

</div>

Super! I will try to get a test release out today with the finished languages so far.

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [July 15, 2022, 8:36am UTC](https://community.homey.app/t/learn-a-new-skill-contribute-to-open-source-software-by-translating-the-app-power-by-the-hour/65903/27 "2022-07-15T08:36:05Z")

</div>

version 4.4.4 is released as test: [Power by the Hour App for Homey | Homey](https://homey.app/a/com.gruijter.powerhour/test/)

- Added translations for German, Swedish and Italian

@Alessandro_Rossi @DirkG @Teddy Many thanks for your hard work!! 🥳

Can you please install this version and check if the translations are ok. Please also check if the text fits (not too long) in both the mobile app, and in my.homey.app

If you need to change anything, please first do a `Fetch Upstream` before starting to edit.  
Your fork should be 0 commits behind master.

 ![2022-07-15 (2)](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/8/b80df7d4fcb5e0623491c08ad42f703fd6c0e474.jpeg)

---

<div class="post-metadata">

**Author:** ![Alessandro\_Rossi](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/alessandro_rossi/32/37432_2.png) [@Alessandro\_Rossi](https://community.homey.app/u/Alessandro_Rossi)\
**Post date:** [July 15, 2022, 9:08am UTC](https://community.homey.app/t/learn-a-new-skill-contribute-to-open-source-software-by-translating-the-app-power-by-the-hour/65903/28 "2022-07-15T09:08:44Z")

</div>

> [@Gruijter](#):
>
> Can you please install this version and check if the translations are ok. Please also check if the text fits (not too long) in both the mobile app, and in my.homey.app

I checked all the texts and they seem to be ok (translation and length) both in mobile and web app.  
I remain at disposal if you need further help for italian 🇮🇹 translations 😉

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [July 15, 2022, 9:40am UTC](https://community.homey.app/t/learn-a-new-skill-contribute-to-open-source-software-by-translating-the-app-power-by-the-hour/65903/29 "2022-07-15T09:40:40Z")

</div>

> [@Gruijter](#):
>
> Fetch Upstream

For this I have to create a PR within my fork!? And it’s still 7 commits behind your master branch. So I don’t know what to do, sorry.  
Btw, make it sense to fetch the complete code/branch? I know that it’s also possible to edit single files and make a PR only for this file.

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [July 15, 2022, 9:59am UTC](https://community.homey.app/t/learn-a-new-skill-contribute-to-open-source-software-by-translating-the-app-power-by-the-hour/65903/30 "2022-07-15T09:59:24Z")

</div>

> [@DirkG](#):
>
> I know that it’s also possible to edit single files and make a PR only for this file.

Problem with that is that multiple people are working on the same file(s) when translating. There is probably a very clever way to do this. But I Im new to this github workflow too 😅.

If all else fails you can always fully delete your own fork (repository) and then re-fork again from my master.

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [July 15, 2022, 10:14am UTC](https://community.homey.app/t/learn-a-new-skill-contribute-to-open-source-software-by-translating-the-app-power-by-the-hour/65903/31 "2022-07-15T10:14:42Z")

</div>

Ok, I deleted my fork… 🥵

How does PBTH work when generating electricity with a PV system? Must be also a “Power Summarizer” device used?  
I ask because of the terminology related to information in the app/device.

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [July 15, 2022, 10:18am UTC](https://community.homey.app/t/learn-a-new-skill-contribute-to-open-source-software-by-translating-the-app-power-by-the-hour/65903/32 "2022-07-15T10:18:21Z")

</div>

> [@DirkG](#):
>
> with a PV system?

Yes, that is also via a power summarizer

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [July 15, 2022, 10:20am UTC](https://community.homey.app/t/learn-a-new-skill-contribute-to-open-source-software-by-translating-the-app-power-by-the-hour/65903/33 "2022-07-15T10:20:41Z")

</div>

> [@DirkG](#):
>
> For this I have to create a PR within my fork!? And it’s still 7 commits behind your master branch. So I don’t know what to do, sorry.

I think you have to create a pull request in your repo (your fork). This should take over all changes of the parent repo into yours. That’s the other direction you normally use when you create a pull request in the other repo to push your changes to the “parent”.

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [July 15, 2022, 10:23am UTC](https://community.homey.app/t/learn-a-new-skill-contribute-to-open-source-software-by-translating-the-app-power-by-the-hour/65903/34 "2022-07-15T10:23:40Z")

</div>

> [@DirkG](#):
>
> “Power Summarizer”

Technical detail: The device must have this option:

> **[Energy | Homey Apps SDK](https://apps.developer.homey.app/the-basics/devices/energy#measuring-devices)**
>
> By defining the energy usage (or generation) of the devices your app supports users can generate detailed reports of their energy consumption.

“capabilities”: [“measure\_power”],  
“energy”: {  
“cumulative”: true  
}

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [July 15, 2022, 10:31am UTC](https://community.homey.app/t/learn-a-new-skill-contribute-to-open-source-software-by-translating-the-app-power-by-the-hour/65903/35 "2022-07-15T10:31:34Z")

</div>

> [@RonnyW](#):
>
> I think you have to create a pull request in your repo (your fork).

I did, but I don’t know how to check and release the PR, so resolve the “conflicts” as it is called on the GitHub help page.  
However, in the meantime I deleted my fork and created a new, up-to-date fork.

> [@RonnyW](#):
>
> Technical detail

It’s good to know. But what I want is a meaningful German translation… 😉

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [July 15, 2022, 11:05am UTC](https://community.homey.app/t/learn-a-new-skill-contribute-to-open-source-software-by-translating-the-app-power-by-the-hour/65903/36 "2022-07-15T11:05:12Z")

</div>

> [@DirkG](#):
>
> German translation

What’s missing? Still “Power Summarizer”?  
I would say “Stromzähler” for energy or just **“Zähler”** for **“Summarizer”** as generic word for all types (energy, water…).

 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/2/0256065dff7f61bf6292ea76560cc1c876bf6fb6.png)

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [July 15, 2022, 11:11am UTC](https://community.homey.app/t/learn-a-new-skill-contribute-to-open-source-software-by-translating-the-app-power-by-the-hour/65903/37 "2022-07-15T11:11:20Z")

</div>

This is a good suggestion… 👍🏼

---

<div class="post-metadata">

**Author:** ![Teddy](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/teddy/32/13818_2.png) [@Teddy](https://community.homey.app/u/Teddy)\
**Post date:** [July 15, 2022, 1:29pm UTC](https://community.homey.app/t/learn-a-new-skill-contribute-to-open-source-software-by-translating-the-app-power-by-the-hour/65903/38 "2022-07-15T13:29:20Z")

</div>

Installed test. I am going to make some changes that i have identified need yo be fixed for the swedish translation. Going to have a look on it this evening.

// Ted

---

<div class="post-metadata">

**Author:** ![Teddy](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/teddy/32/13818_2.png) [@Teddy](https://community.homey.app/u/Teddy)\
**Post date:** [July 15, 2022, 4:21pm UTC](https://community.homey.app/t/learn-a-new-skill-contribute-to-open-source-software-by-translating-the-app-power-by-the-hour/65903/39 "2022-07-15T16:21:46Z")

</div>

![Screenshot_20220715-181913_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/6/665c0555b0c709086efd940207a6447cc7cce202.jpeg)

This turned out good i think. About to turn on my computer and have a go at doing som corrections.

---

<div class="post-metadata">

**Author:** ![Teddy](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/teddy/32/13818_2.png) [@Teddy](https://community.homey.app/u/Teddy)\
**Post date:** [July 15, 2022, 4:56pm UTC](https://community.homey.app/t/learn-a-new-skill-contribute-to-open-source-software-by-translating-the-app-power-by-the-hour/65903/40 "2022-07-15T16:56:33Z")

</div>

OK Robin … you have a pull request waiting for you. And i think i am happy with the swedish translation with those corrections. It looks like it should everything i have looked at 🙂

[Previous page](https://community.homey.app/t/learn-a-new-skill-contribute-to-open-source-software-by-translating-the-app-power-by-the-hour/65903.md?page=1)

[Next page](https://community.homey.app/t/learn-a-new-skill-contribute-to-open-source-software-by-translating-the-app-power-by-the-hour/65903.md?page=3)
