# Translation workflow?

**URL:** <https://talk.getindico.io/t/translation-workflow/547>\
**Category:** Internationalization and Localization\
**Created:** [July 26, 2018, 9:11am UTC](https://talk.getindico.io/t/translation-workflow/547 "2018-07-26T09:11:11Z")\
**Posts on this page:** 9\
**Page:** 3

<div class="post-metadata">

**Author:** ![Batpurev\_Batchuluun](https://talk.getindico.io/user_avatar/talk.getindico.io/batpurev_batchuluun/32/676_2.png) [@Batpurev\_Batchuluun](https://talk.getindico.io/u/Batpurev_Batchuluun)\
**Post date:** [April 7, 2021, 8:19am UTC](https://talk.getindico.io/t/translation-workflow/547/41 "2021-04-07T08:19:44Z")

</div>

```
(env) [indico@indico indico]$ npx react-jsx-i18n compile indico/translations/mn/LC_MESSAGES/messages-react.po indico/translations/mn/LC_MESSAGES/messages-react.json
Need to install the following packages:
  react-jsx-i18n
Ok to proceed? (y) y
Invalid path: indico/translations/mn/LC_MESSAGES/messages-react.po
```

---

<div class="post-metadata">

**Author:** ![ThiefMaster](https://talk.getindico.io/user_avatar/talk.getindico.io/thiefmaster/32/509_2.png) [@ThiefMaster](https://talk.getindico.io/u/ThiefMaster)\
**Post date:** [April 7, 2021, 8:23am UTC](https://talk.getindico.io/t/translation-workflow/547/42 "2021-04-07T08:23:36Z")

</div>

That sounds like you did not run `npm ci` or you aren’t in the `src` folder.

---

<div class="post-metadata">

**Author:** ![Batpurev\_Batchuluun](https://talk.getindico.io/user_avatar/talk.getindico.io/batpurev_batchuluun/32/676_2.png) [@Batpurev\_Batchuluun](https://talk.getindico.io/u/Batpurev_Batchuluun)\
**Post date:** [April 7, 2021, 8:39am UTC](https://talk.getindico.io/t/translation-workflow/547/43 "2021-04-07T08:39:00Z")

</div>

```
(env) [indico@indico ~]$ cd src/
(env) [indico@indico src]$ npx react-jsx-i18n compile indico/translations/mn/LC_MESSAGES/messages-react.po indico/translations/mn/LC_MESSAGES/messages-react.json
Invalid path: indico/translations/mn/LC_MESSAGES/messages-react.po
(env) [indico@indico src]$ npm ci
Killed .........] / reify:commander: timing reify:loadBundles Completed in 0ms
(env) [indico@indico src]$
```

---

<div class="post-metadata">

**Author:** ![ThiefMaster](https://talk.getindico.io/user_avatar/talk.getindico.io/thiefmaster/32/509_2.png) [@ThiefMaster](https://talk.getindico.io/u/ThiefMaster)\
**Post date:** [April 7, 2021, 8:42am UTC](https://talk.getindico.io/t/translation-workflow/547/44 "2021-04-07T08:42:04Z")

</div>

If `npm ci` gets killed something is wrong. Lack of memory maybe? In any case, use the `indico i18n compile-messages-react` command once your node environment is working correctly…

---

<div class="post-metadata">

**Author:** ![Batpurev\_Batchuluun](https://talk.getindico.io/user_avatar/talk.getindico.io/batpurev_batchuluun/32/676_2.png) [@Batpurev\_Batchuluun](https://talk.getindico.io/u/Batpurev_Batchuluun)\
**Post date:** [April 7, 2021, 9:22am UTC](https://talk.getindico.io/t/translation-workflow/547/45 "2021-04-07T09:22:33Z")

</div>

4GB ram it works but these are the errors

[2021-04-07T09\_12\_38\_863Z-debug.log](https://talk.getindico.io/uploads/short-url/uXDnS6tBAGM9TOXLrl9fXIrOcz8.log) (283.5 KB)

---

<div class="post-metadata">

**Author:** ![ThiefMaster](https://talk.getindico.io/user_avatar/talk.getindico.io/thiefmaster/32/509_2.png) [@ThiefMaster](https://talk.getindico.io/u/ThiefMaster)\
**Post date:** [April 7, 2021, 9:28am UTC](https://talk.getindico.io/t/translation-workflow/547/46 "2021-04-07T09:28:16Z")

</div>

Hm, maybe a gcc version that’s too old? Anyway, check the other thread, I built a wheel for you and linked it there.

---

<div class="post-metadata">

**Author:** ![Batpurev\_Batchuluun](https://talk.getindico.io/user_avatar/talk.getindico.io/batpurev_batchuluun/32/676_2.png) [@Batpurev\_Batchuluun](https://talk.getindico.io/u/Batpurev_Batchuluun)\
**Post date:** [April 28, 2021, 5:05am UTC](https://talk.getindico.io/t/translation-workflow/547/47 "2021-04-28T05:05:39Z")

</div>

Hi, what would be the path to source language for transifex? thanks.

> tx INFO: Updating /opt/indico/.transifexrc file…
> 
> The Transifex Client syncs files between your local directory and Transifex.  
> The mapping configuration between the two is stored in a file called .tx/config  
> in your current directory. For more information, visit  
> [Transifex Help Center](https://docs.transifex.com/client/config/).
> 
> [?] Enter the path to your local source file:  
> No file was found in that path. Please correct the path or make sure a file exists in that location.  
> [?] Enter the path to your local source file: /opt/indico/dev/indico/src

---

<div class="post-metadata">

**Author:** ![Batpurev\_Batchuluun](https://talk.getindico.io/user_avatar/talk.getindico.io/batpurev_batchuluun/32/676_2.png) [@Batpurev\_Batchuluun](https://talk.getindico.io/u/Batpurev_Batchuluun)\
**Post date:** [April 28, 2021, 7:45am UTC](https://talk.getindico.io/t/translation-workflow/547/48 "2021-04-28T07:45:54Z")

</div>

Sorry I should have run this command from inside the

> src

folder. I have pulled the mn\_MN translation to development machine. Can anyone tell me how to build the wheel from this language pack? (I am newbie sorry for such primitive question) thanks.

---

<div class="post-metadata">

**Author:** ![Batpurev\_Batchuluun](https://talk.getindico.io/user_avatar/talk.getindico.io/batpurev_batchuluun/32/676_2.png) [@Batpurev\_Batchuluun](https://talk.getindico.io/u/Batpurev_Batchuluun)\
**Post date:** [April 28, 2021, 8:25am UTC](https://talk.getindico.io/t/translation-workflow/547/49 "2021-04-28T08:25:32Z")

</div>

> (env) [indico@localhost src]$ ./bin/maintenance/build-wheel.py indico  
> Error: working tree is not clean  
> indico/translations/mn\_MN/LC\_MESSAGES/messages.po | 6 ++±–  
> 1 file changed, 3 insertions(+), 3 deletions(-)
> 
> (env) [indico@localhost src]$

you should either commit all changes or pass `--ignore-unclean` as an argument to the script.

[Previous page](https://talk.getindico.io/t/translation-workflow/547.md?page=2)
