zulip/zulip

lint: Add lint rule to warn people making changes to static/locale.

Open

#8,215 建立於 2018年1月29日

在 GitHub 查看
 (6 留言) (0 反應) (0 負責人)Python (7,339 fork)batch import
area: internationalizationarea: testing-infrastructurearea: toolinghelp wanted

倉庫指標

Star
 (19,672 star)
PR 合併指標
 (平均合併 36天 6小時) (30 天內合併 110 個 PR)

描述

We occasionally get PRs with translations or other fixes to the files in static/locale, due to a reasonable misunderstanding of how our translation system works. It would be great to add some sort of warning that points people either to transifex or to our translation documentation.


Edit by @alya 2025-11:

Rather than a lint rule, we should have a GitHub action that sends the following message:


Please don't edit translation files directly, as this does not work with Zulip's translation system. If you're trying to add an improve a translation, follow these guidelines to join Zulip's team of volunteer translators on Weblate. If you're a developer, see the internationalization for developers guide.

貢獻者指南