The mentions only work in topic. The bot will then send a PM with the response. I did not test functionality with using system as the bot, so I have no idea if that will work.
Can I help translate into my language? Is there any form that allows me to translate from English to Portuguese on GitHub?
That would be great. I have no idea whatās involved with translating. Let me do some research.
The Discourse team uses Crowdin for translations. For plugins that donāt use a localization platform there is this guide
Thank you! Iāll look into Crowdin.
Alright. I think I got Crowdin set up correctly for this plugin. You should be able to click on this link and provide translations:
FYI: Anyone else that wants to provide translations in their languages is welcome as well! I set it up to have the 30 most popular. If yours isnāt in the list, let me know and Iāll get it added.
You might be interested in: Always use %{count} variable when translating pluralized strings
There are languages that use āoneā not only for 1 but also for other numbers ending in 1, something like āafter 20 and 1 dayā. Thatās why itās easier if you stick to count in English too. Then translators donāt have to keep that in mind.
There are also languages with different plurals depending on the count (e.g., few, many, other) which makes it necessary to add a āoneā version for English on texts that will never be used in singular for Crowdin to detect that this text needs pluralization, allowing translators to enter the different versions.
Iāll take a look at that.
Question: In Crowdin, how do you configure the translated file path? This is what I currently have:
/config/locales/client.%locale_with_underscore%.yml
But, Iām not sure that is correct?
I have never setup Crowdin. I usually only use it to translate Discourse.
But I think you somehow need to match the language codes and language codes with locale identifiers as they are used in Discourse core (for example de, but pl_PL). Maybe gerhard can help
Yeah. That is the issue Iām running into. There is no way to tell it how to do that (that I can tell).
Alright! Claude and I worked through everything, and I think we have Crowdin working correctly now. Feel free to translate away!
Done! thank you for this
Awesome! Iāll merge it to the main branch!

