German Translation #13

Closed
opened 2025-12-28 23:24:01 +01:00 by adam · 11 comments
Owner

Originally created by @eitchtee on GitHub (Jan 28, 2025).

I would love to help translate to German, but I never did anything like that before. So you would have to help me out by providing me a link to a guide or tell me what to do.

Originally posted by @CocaCola2701 in #84

Originally created by @eitchtee on GitHub (Jan 28, 2025). > I would love to help translate to German, but I never did anything like that before. So you would have to help me out by providing me a link to a guide or tell me what to do. _Originally posted by @CocaCola2701 in [#84](https://github.com/eitchtee/WYGIWYH/issues/84#issuecomment-2619516055)_
adam added the enhancement label 2025-12-28 23:24:01 +01:00
adam closed this issue 2025-12-28 23:24:01 +01:00
Author
Owner

@eitchtee commented on GitHub (Jan 28, 2025):

Hey @CocaCola2701 thank you for taking interest into translating WYGIWYH to German.

How to

You'll need two things:

  1. An editor, I recommend using POEdit
  2. A .po file

When you have both on your computer, open the .po file with POEdit and start translating.

Translating

POEdit is quite easy to use, click on a row and on the bottom you will have the original text in English and a field to add your translation.

Most text entries are straightforward, but you will encounter three different situations you need to pay attention to:

  • Some entries have singular and plural versions, to translate these click on Singular or Plural (see gif below) and add your translation for that case

Image

  • When you have a word surrounded by %( and )s like %(count)s, don't translate it, copy it entirely. For example, %(years)s year ago becomes %(years)s ano atrás when translated. These are usually a number.

  • The same happens if you find a word surrounded by brackets, like {number}. This is also usually a number.

Also, when a text doesn't have a direct translation or you don't know, you can leave it empty, it will default to the English translation.


Make sure to save your work.

That should cover everything. If you have any problems or questions feel free to ask.

@eitchtee commented on GitHub (Jan 28, 2025): Hey @CocaCola2701 thank you for taking interest into translating WYGIWYH to German. ### How to You'll need two things: 1. An editor, I recommend using [POEdit](https://poedit.net) 2. A .po file - **If you know how to use git**, just clone the `main` repository and edit this file: https://github.com/eitchtee/WYGIWYH/blob/main/app/locale/de/LC_MESSAGES/django.po when you're done, open a pull request with your changes - If you don't know how to use git, you can download the needed file from here: [po.zip](https://github.com/user-attachments/files/18576957/po.zip). Just unzip it after download. When you have both on your computer, open the .po file with POEdit and start translating. ### Translating POEdit is quite easy to use, click on a row and on the bottom you will have the original text in English and a field to add your translation. Most text entries are straightforward, but you will encounter three different situations you need to pay attention to: - Some entries have singular and plural versions, to translate these click on Singular or Plural (see gif below) and add your translation for that case ![Image](https://github.com/user-attachments/assets/f334dc6e-ffbd-444f-b521-ba4b8e3c8b4d) - When you have a word surrounded by `%(` and `)s` like `%(count)s`, don't translate it, copy it entirely. For example, `%(years)s year ago` becomes `%(years)s ano atrás` when translated. These are usually a number. - The same happens if you find a word surrounded by brackets, like `{number}`. This is also usually a number. Also, when a text doesn't have a direct translation or you don't know, you can leave it empty, it will default to the English translation. --- Make sure to save your work. That should cover everything. If you have any problems or questions feel free to ask.
Author
Owner

@eitchtee commented on GitHub (Jan 28, 2025):

Once you're done, if you don't know how to use git, you can just zip the file and add it here, I will make sure to attribute you.

@eitchtee commented on GitHub (Jan 28, 2025): Once you're done, if you don't know how to use git, you can just zip the file and add it here, I will make sure to attribute you.
Author
Owner

@CocaCola2701 commented on GitHub (Jan 28, 2025):

Great guide, thanks!
I started translating but my time is limited. You can expect me to be finished by the end of the week.

@CocaCola2701 commented on GitHub (Jan 28, 2025): Great guide, thanks! I started translating but my time is limited. You can expect me to be finished by the end of the week.
Author
Owner

@eitchtee commented on GitHub (Jan 28, 2025):

No problem at all. Take your time.

@eitchtee commented on GitHub (Jan 28, 2025): No problem at all. Take your time.
Author
Owner

@CocaCola2701 commented on GitHub (Feb 24, 2025):

Hey. I finally found the time to translate to German:

translation.zip

I'm sorry for taking so long!

I assume that you added or changed some words in your latest updates (after uploading the file for me)!? If so, you can maybe add my translations and upload the updated file again, so that I can fill in the missing words.
Also I was not 100% sure with some words, in particular the specialized financial terms. So after you add the German language in the settings I will check the whole tool and might then have to update some translations.

@CocaCola2701 commented on GitHub (Feb 24, 2025): Hey. I finally found the time to translate to German: [translation.zip](https://github.com/user-attachments/files/18944953/translation.zip) I'm sorry for taking so long! I assume that you added or changed some words in your latest updates (after uploading the file for me)!? If so, you can maybe add my translations and upload the updated file again, so that I can fill in the missing words. Also I was not 100% sure with some words, in particular the specialized financial terms. So after you add the German language in the settings I will check the whole tool and might then have to update some translations.
Author
Owner

@eitchtee commented on GitHub (Feb 24, 2025):

Great! Thank you @CocaCola2701

Yes, there's been plenty of new strings. Let me put everything in place and get back to you.

@eitchtee commented on GitHub (Feb 24, 2025): Great! Thank you @CocaCola2701 Yes, there's been plenty of new strings. Let me put everything in place and get back to you.
Author
Owner

@eitchtee commented on GitHub (Feb 24, 2025):

Some terms are really tricky indeed, like Dollar-cost-average, which I also couldn't find a matching term in Portuguese when translating, so I went with Custo Médio Ponderado (Weighted Average Cost) which is not the same thing, but translates the idea well enough. If you can't find a good translation, you can leave it empty.

Version 0.11.5 enables Deutsch as a language option in the User Settings menu with your translation, so you can take a look and update what you feel like doesn't fit. I made sure to attribute you in the release notes.

Also, below is the update .po file with your translation and all new strings (POEdit will highlight what's new or untranslated).

django.po.zip

@eitchtee commented on GitHub (Feb 24, 2025): Some terms are really tricky indeed, like Dollar-cost-average, which I also couldn't find a matching term in Portuguese when translating, so I went with Custo Médio Ponderado (Weighted Average Cost) which is not the same thing, but translates the idea well enough. If you can't find a good translation, you can leave it empty. Version 0.11.5 enables Deutsch as a language option in the User Settings menu with your translation, so you can take a look and update what you feel like doesn't fit. I made sure to attribute you in the release notes. Also, below is the update .po file with your translation and all new strings (POEdit will highlight what's new or untranslated). [django.po.zip](https://github.com/user-attachments/files/18949170/django.po.zip)
Author
Owner

@eitchtee commented on GitHub (Feb 24, 2025):

Also, I'm closing this issue as the initial translation has been released, you can keep commenting here with updates and inquires.

@eitchtee commented on GitHub (Feb 24, 2025): Also, I'm closing this issue as the initial translation has been released, you can keep commenting here with updates and inquires.
Author
Owner

@CocaCola2701 commented on GitHub (Feb 24, 2025):

Some terms are really tricky indeed, like Dollar-cost-average, which I also couldn't find a matching term in Portuguese when translating, so I went with Custo Médio Ponderado (Weighted Average Cost) which is not the same thing, but translates the idea well enough. If you can't find a good translation, you can leave it empty.

Version 0.11.5 enables Deutsch as a language option in the User Settings menu with your translation, so you can take a look and update what you feel like doesn't fit. I made sure to attribute you in the release notes.

Also, below is the update .po file with your translation and all new strings (POEdit will highlight what's new or untranslated).

django.po.zip

Yeah, Dollar-cost-average was tricky. I decided to keep the English term. Maybe I'll come up with a fitting German term in the future.

Here is the updated translation zip for the next version:
German.zip

At the weekend I'll have a look into learning to use GitHub properly, so we don't have to share theses zips :D

@CocaCola2701 commented on GitHub (Feb 24, 2025): > Some terms are really tricky indeed, like Dollar-cost-average, which I also couldn't find a matching term in Portuguese when translating, so I went with Custo Médio Ponderado (Weighted Average Cost) which is not the same thing, but translates the idea well enough. If you can't find a good translation, you can leave it empty. > > Version 0.11.5 enables Deutsch as a language option in the User Settings menu with your translation, so you can take a look and update what you feel like doesn't fit. I made sure to attribute you in the release notes. > > Also, below is the update .po file with your translation and all new strings (POEdit will highlight what's new or untranslated). > > [django.po.zip](https://github.com/user-attachments/files/18949170/django.po.zip) Yeah, Dollar-cost-average was tricky. I decided to keep the English term. Maybe I'll come up with a fitting German term in the future. Here is the updated translation zip for the next version: [German.zip](https://github.com/user-attachments/files/18950239/German.zip) At the weekend I'll have a look into learning to use GitHub properly, so we don't have to share theses zips :D
Author
Owner

@eitchtee commented on GitHub (Feb 24, 2025):

Thank you!

At the weekend I'll have a look into learning to use GitHub properly, so we don't have to share theses zips :D

Git is quite cool, and not limited to code, you can store notes and other stuff, and is always good to learn new things, but for this it's actually quite simple, you don't even need to have git on your computer:

Go to
https://github.com/eitchtee/WYGIWYH/tree/main/app/locale/de/LC_MESSAGES

Click Add file on the top right, then Upload files

Image

On the Upload files screen drop your translated .po file (.mo is not needed), and on the first input give a descriptive name like locale(de): update translations

Image

Then click Propose changes. Another screen will open up, everything should be pretty much setup, just click Create pull request.

Image

And that should be it from your side.


To download the updated file, you just go to:
https://github.com/eitchtee/WYGIWYH/blob/main/app/locale/de/LC_MESSAGES/django.po

And click the Download raw file button
Image


I'm looking into some web-based translation interface that should make everything way simpler in the future.

@eitchtee commented on GitHub (Feb 24, 2025): Thank you! > At the weekend I'll have a look into learning to use GitHub properly, so we don't have to share theses zips :D Git is quite cool, and not limited to code, you can store notes and other stuff, and is always good to learn new things, but for this it's actually quite simple, you don't even need to have git on your computer: Go to https://github.com/eitchtee/WYGIWYH/tree/main/app/locale/de/LC_MESSAGES Click `Add file` on the top right, then `Upload files` ![Image](https://github.com/user-attachments/assets/a26a4500-b40b-4f95-9de6-d8949e2e8fdd) On the Upload files screen drop your translated .po file (.mo is not needed), and on the first input give a descriptive name like `locale(de): update translations` ![Image](https://github.com/user-attachments/assets/5c0085da-b0c5-449b-a403-0e9b5ee7ba9b) Then click `Propose changes`. Another screen will open up, everything should be pretty much setup, just click `Create pull request`. ![Image](https://github.com/user-attachments/assets/b9730c48-d83c-46e7-8dc9-96f3e4af4d3a) And that should be it from your side. --- To download the updated file, you just go to: https://github.com/eitchtee/WYGIWYH/blob/main/app/locale/de/LC_MESSAGES/django.po And click the `Download raw file` button ![Image](https://github.com/user-attachments/assets/bd23893c-f2c6-42f1-a9d0-db0ea1c40c3a) --- I'm looking into some web-based translation interface that should make everything way simpler in the future.
Author
Owner

@eitchtee commented on GitHub (Feb 28, 2025):

You can now translate using a web interface available on translations.herculino.com, just login using your Github and edit, all changes will be added to github automatically.

I will still be accepting pull requests if you prefer it that way.

@eitchtee commented on GitHub (Feb 28, 2025): You can now translate using a web interface available on [translations.herculino.com](https://translations.herculino.com), just login using your Github and edit, all changes will be added to github automatically. I will still be accepting pull requests if you prefer it that way.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/WYGIWYH#13