# How to create the po files for translation?

**URL:** https://discuss.tryton.org/t/how-to-create-the-po-files-for-translation/1274
**Category:** Developer
**Created:** [March 27, 2019, 7:00pm UTC](https://discuss.tryton.org/t/how-to-create-the-po-files-for-translation/1274 "2019-03-27T19:00:44Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![rvong](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/r/3bc359/32.png) [@rvong](https://discuss.tryton.org/u/rvong)
#### Post date: [March 27, 2019, 7:00pm UTC](https://discuss.tryton.org/t/how-to-create-the-po-files-for-translation/1274/1 "2019-03-27T19:00:44Z")

</div>

Hi,

I would some help on how to create the po files located in the “locale” directory. I know I can manually create one by hand and fill the information, but I was wondering if there is a tool that can scan the python source file for labels or other translate-able text and put them into the po file, so that one can just fill up the translated text? I need this, because I am writing a custom module from scratch and would like to add multiple language support. I tried the pygettext tool, but it does not work directly, something is missing.  
Many thanks in advanced.

---

<div class="post-metadata">

### Author: ![pokoli](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/pokoli/32/22_2.png) [@pokoli](https://discuss.tryton.org/u/pokoli)
#### Post date: [March 28, 2019, 8:50am UTC](https://discuss.tryton.org/t/how-to-create-the-po-files-for-translation/1274/2 "2019-03-28T08:50:48Z")

</div>

For the offical module we use [the translations server to colaborate](http://pootle.tryton.org)

For custom modules you can use any tryton client to add the translations in the translations table and then export them to a po file by using the Export transaltions wizard under the Administration → Translation menu. [The translation process is explained on our documentation](http://docs.tryton.org/projects/server/en/latest/topics/translation.html)
