mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
i18n: Move static/locale back to locale.
As of commitcff40c557b(#9300), these files are no longer served directly to the browser. Disentangle them from the static asset pipeline so we can refactor it without worrying about them. This has the side effect of eliminating the accidental duplication of translation data via hash-naming in our release tarballs. This reverts commitb546391f0b(#1148). Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
committed by
Tim Abbott
parent
d6f5655d0d
commit
bbb56df6b0
@@ -110,9 +110,9 @@ sense of how everything fits together.
|
||||
|
||||
All the translation magic happens through resource files which hold
|
||||
the translated text. Backend resource files are located at
|
||||
`static/locale/<lang_code>/LC_MESSAGES/django.po`, while frontend
|
||||
`locale/<lang_code>/LC_MESSAGES/django.po`, while frontend
|
||||
resource files are located at
|
||||
`static/locale/<lang_code>/translations.json` (and mobile at
|
||||
`locale/<lang_code>/translations.json` (and mobile at
|
||||
`mobile.json`).
|
||||
|
||||
These files are uploaded to [Transifex][], where they can be translated.
|
||||
|
||||
Reference in New Issue
Block a user