docker_images/odoo/golem/i18n.sh

5 lines
353 B
Bash

#!/bin/bash
cd "custom-addons/$CODE_FOLDER/$2/i18n/" && /opt/odoo/OCB/odoo-bin -c /opt/odoo/odoo.conf -d "$1" --i18n-export="$2".po --modules="$2" && mv "$2".po "$2".pot && cd /opt/odoo
cd "custom-addons/$CODE_FOLDER/$2/i18n/" && /opt/odoo/OCB/odoo-bin -c /opt/odoo/odoo.conf -d "$1" --i18n-export=fr.po --modules="$2" --language=fr_FR && cd /opt/odoo