# How to activate new translation in production deploy?

**URL:** <https://talk.getindico.io/t/how-to-activate-new-translation-in-production-deploy/2484>\
**Category:** Internationalization and Localization\
**Created:** [November 13, 2021, 6:52am UTC](https://talk.getindico.io/t/how-to-activate-new-translation-in-production-deploy/2484 "2021-11-13T06:52:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![koyama](https://talk.getindico.io/letter_avatar_proxy/v4/letter/k/919ad9/32.png) [@koyama](https://talk.getindico.io/u/koyama)\
**Post date:** [November 13, 2021, 6:52am UTC](https://talk.getindico.io/t/how-to-activate-new-translation-in-production-deploy/2484/1 "2021-11-13T06:52:32Z")

</div>

Hello,

I deployed production version of indico v3.0.3 on my server and trying to make it running with more languages by downloading translation from transifex. I followed instructions on getindico site and mostly it works.

The solution I took is to build another “dev” tree, pull from transfex, do  
indico i18n compile-catalog  
indico i18n compile-catalog-react  
then copy produced .po, .mo, .json into appropriate place of production deployment where is for example: ~indico/.venv/lib/python3.9/site-packages/indico/translations/ja\_JP/LC\_MESSAGES/

Such folders include following files.  
messages-js.po  
messages.mo  
messages.po  
messages-react.json  
messages-react.po

The new translations contained in messages.po/mo works very well. I see immediately effect on the indico. However new translation in messages-react.json is not reflected on the indico page. I checked contents of json file and the file surely contain the new translation. I tried to restart server, however no effect.

I appreciate if someone could tell me what to do.

Ken Oyama  
Nagsaki-IAS, Japan

---

<div class="post-metadata">

**Author:** ![bpedersen2](https://talk.getindico.io/user_avatar/talk.getindico.io/bpedersen2/32/25_2.png) [@bpedersen2](https://talk.getindico.io/u/bpedersen2)\
**Post date:** [November 15, 2021, 7:03am UTC](https://talk.getindico.io/t/how-to-activate-new-translation-in-production-deploy/2484/2 "2021-11-15T07:03:17Z")

</div>

You need to build fresh release.

So put the files in your dev tree ,  
commit the new files  
, run `bin/maintenance/build-wheel indico --add-version-suffix` and reinstall the production setup.  
(the translations need to get packed by webpack to take effect).
