A user reported an issue with the Discobot French translation, where the botâs response in French did not trigger correctly when using @discobot alone. The problem was traced to a translation error in the French locale file, specifically the missing help_trigger in the command. Benjamin_D identified the issue and suggested a fix, which was confirmed by neil as a translation bug needing correction in Transifex. zogstrip resolved the translation issue, and later addressed a related bug in the code that matched post content with triggers, fixing discrepancies between raw and cooked text (e.g., apostrophes). Benjamin_D also noted that removing the apostrophe in the trigger solved another issue. The fix was implemented in this commit.
So, when i was ranked to member, i decided to modify my settings. Because iâm french, i set the language the french. I decided to do the advanced tutorial but when i did @discobot in Private Message It was like that:
I found a new one @discobot afficher l'aide doesnât trigger the help and then neither gives the tracks
it is probably because of the â ,
removing it from discourse_narrative_bot.track_selector.help_trigger solves it
I fixed the code that was matching the content of the post with the triggers since there was a difference between the raw and cooked versions of the trigger (eg. the ' is cooked into â)