Introduction to Weblate

Codeberg hosts it's own Weblate Instance to help Codeberg users localize their Software. This service is called Codeberg Translate

What is Weblate?

When you write a Software, a Website, a Documentation or something else, you may want to translate it, so it can be used by osers, who do not speak English. But you are facing a problem: You did not speak all languages that exist in the World. Thankfully, there are a lot of native speakers who want to translate things in their language. But not all of those translators are coders, so you can't expect them to go to your your Repo, fork it, edit the Code to make the add the Language and create a Pull Request. To solve this problem, software like Weblate exists. It provides a easy to use GUI for translators. They just see the English (or the other language you use as a base) texts and can write the translation. They don't need to take a look at the Code at all, so everyone, not only coders, can translate your Software.

Do I need to change my Code?

You can't give Weblate your Code and it magically makes it translatable. You need to use an existing translation system such as gettext or Qt Linguist. Which one you should use depends on your used language and toolkit. Take a look at their documentation to learn more. You should end up with a directory which contains the different translations. Each language should have its own file. e.g. de.po for gettext. You now giving Weblate the Link to your Repo and basically just say, my translations are in this directory and I'm using this format. Weblate does the rest.

Hey there! 👋 Thank you for reading this article!

Is there something missing, or do you have an idea on how to improve the documentation? Do you want to write your own article?

You're invited to contribute to the Codeberg Documentation at its source code repository, for example, by adding a pull request or joining in on the discussion in the issue tracker.

For an introduction on contributing to Codeberg Documentation, please have a look at the Contributor FAQ.

© Codeberg Docs Contributors. See LICENSE