This repository contains translations for Kord Extensions and its various first-party modules. We keep each set of translations in a separate folder, which Gradle adds to the build for the respective module.
If you'd like to contribute to our translations, please check out our Weblate project.
When working on this repository, take note of the following:
- Each folder must match the bundle name. For example, the
pluralkit
folder contains files with names starting withpluralkit
. - Each folder must contain a base translations file that contains every translation key and provides English
translations.
For example, the
pluralkit
folder contains apluralkit.properties
file.
When working with Kord Extensions itself, take note of the following:
- You must call
getTranslations()
in the build script for each module with translations. This will retrieve the translations from this repository that match the project name (the name of the folder containing the module) – for example, the translations for thefunc-mappings
module are stored here in thefunc-mappings
folder. - You must prefix all bundles with
kordex.
in the code. For example,pluralkit
becomeskordex.pluralkit
.