Book Image

Odoo Development Cookbook

By : Holger Brunn, Alexandre Fayolle, Daniel Reis
Book Image

Odoo Development Cookbook

By: Holger Brunn, Alexandre Fayolle, Daniel Reis

Overview of this book

Odoo is a full-featured open source ERP with a focus on extensibility. The flexibility and sustainability of open source is also a key selling point of Odoo. It is built on a powerful framework for rapid application development, both for back-end applications and front-end websites. The book starts by covering Odoo installation and administration, and provides a gentle introduction to application development. It then dives deep into several of the areas that an experienced developer will need to use. You’ll learn implement business logic, adapt the UI, and extend existing features.
Table of Contents (23 chapters)
Odoo Development Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Exporting translation strings to a file


Translation strings can be exported with or without the translated texts for a selected language. This can be either to include in a module i18n data, or to later perform the translations with a text editor or perhaps with a specialized tool.

We will demonstrate how to do it using the standard mail module, so feel free to replace mail with your own module.

Getting ready

We need to have the Developer Mode activated. If it's not, activate it in the Odoo About dialog.

How to do it...

To export the translation terms for the mail addon module, follow these steps:

  1. In the web client user interface, from the Settings top menu select the Translations | Import/Export | Export Translation menu option.

  2. At the Export Translations dialog, choose the language translation to export, the file format, and the modules to export. To export a translation template file, select New Language (Empty translation template) from the Language selection list. It's recommended to use the...