docker_images/odoo/golem/i18n.sh

5 lines
361 B
Bash
Raw Normal View History

#!/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.new.po --modules=mie_sale --language=fr_FR && cd /opt/odoo