Hi, we’re planning to do a gender neutral German translation of discourse, based on the “official” German translation. Can anybody tell me, how we can achieve this? Is there a way to use Transifex, or is it smart to edit the YAML file directly? Can we commit our version to Github, so others can use it? Of course we also want to make sure, that we can keep the gender neutral translation up to date as discourse evolves.
thank you, zking
AI-generated summary
In a discussion about creating a gender-neutral German translation for Discourse, zking seeks advice on how to proceed, asking whether Transifex or direct YAML editing is preferable and if their version can be committed to GitHub for others to use and maintain. sam tags gerhard for input. gerhard recommends setting up a custom Transifex project using English as the source language (due to matching pluralization rules with German), uploading existing German locale files, configuring auto-updates from GitHub, and manually adjusting gendered terms. He notes that ideally, Discourse would support language variations with fallback chains (e.g., de-genderneutral → de → en), which would simplify the workflow — but this feature doesn’t currently exist. zking confirms setting up the project at https://www.transifex.com/habitat-2/discourse-6 and invites others to join. DDo, a translator on the official German branch, expresses interest in applying a similar approach for a formal German variant and asks for clarification on how to create a Transifex repository, suspecting their account type may not permit it.
@gerhard any idea how something like this could be done?
First of all I suggest you create our own repository on Transifex. Since Transifex doesn’t support language variations you’ll need to trick it into doing what you want. ![]()
- Use English as source language (since it has the same pluralization rules as German), but upload the German locale files.
- Configure auto update for the source files by pointing them to the German locale files (raw) on Github.
- Add German as a language you want to translate.
- Upload the current German locale files since you don’t want to translate everything again.
- Change all the translations that refer to gender.
- Replace the existing German locale files with the new ones in your Discourse instance.
In an ideal world Discourse would allow multiple language fallbacks and language variations (locale customizations in the admin area → de [gender neutral] → de → en), but that’s not possible at the moment. If that were possible you would only need to translate some of the strings on Transifex. So, it would work without step 4 and 6.
Hi @gerhard , thank you for your reply. I’ve created a new project on Transifex and set everything up as you suggested. The project is https://www.transifex.com/habitat-2/discourse-6, if anybody is interested in joining in ;-). Thank you for your advice!
@zking, @gerhard: I found this post and find it truly interesting.
After having created an account with transifex, joining the discourse team as a translator and doing some translation on the official german branch - I’d like to see if a formal german translation would be possible too in this way.
I think it might be easier than a gender neutral version.
But I seem to miss a point: “create our own repository on Transifex” - how do I do that? Do I have an incorrect type of account for something like that?
Thank you for some directions.