Skip to content

Translations

ars edited this page Jan 23, 2026 · 1 revision

Contributing Translations

Help us make HeadUnit Revived accessible to everyone by contributing translations for your language!

How to Contribute

Translating the app is straightforward. You don't need to be a developer; you just need to follow these steps:

1. Locate the Base File

All application strings are stored in the English base file: app/src/main/res/values/strings.xml

2. Create your Language Folder

If your language is not yet supported, you need to create a new folder in app/src/main/res/ named values-<lang>, where <lang> is the ISO 639-1 code for your language.

  • French: values-fr
  • Spanish: values-es
  • Italian: values-it
  • German: values-de (already exists)

3. Translate the Strings

  1. Copy the strings.xml from the English values folder into your new language folder.
  2. Open the file and translate the text between the <string>...</string> tags.
  3. Important: Do not translate the name="..." attribute (e.g., keep name="app_name" as is).
  4. Keep any placeholders like %s, %d, or HTML tags like <b> exactly where they are in the sentence.

4. Submit a Pull Request

  1. Fork the repository on GitHub.
  2. Commit your new folder and file to your fork.
  3. Submit a Pull Request (PR) to the main project.

If you are not familiar with GitHub or Pull Requests, you can also open an Issue and paste your translated strings.xml there, and we will integrate it for you.

Thank you for your help!

Clone this wiki locally