docker_images/odoo/golem/i18n.sh

5 lines
353 B
Bash

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