I've just built a custom OpenERP module, let's say /addons/the_meaning_of_life
.
Now I want to translate it to another language.
I now I'm supposed to have an i18n folder containing a .pot
and .po
files. How do I generate these ? It would be nice to have a step-by-step guide.
Odoo language translation allows us to translate the text in our desired language without customizing the module. Odoo can use different languages for different users and can also can convert website pages into multiple languages.
Select a content type you want translated, and select "edit", then "Workflow settings" for Drupal 6 or "Publishing options" for Drupal 7. At the "Multilingual support" section, select "Enabled, with translation". Be sure to save each content type after enabling multilingual support.
Weglot uses Google Translate's technology (and Microsoft, DeepL, and Yandex depending on the language) to ensure you get the best possible multilingual content on your WordPress site.
Ok here what you can do is:
Setting(or Configuration) > Translation> Import/Export/Export Translation
. Then Choose the module the_meaning_of_life
and desire lang. and export it in .po format./addons/the_meaning_of_life/i18n
and it is available with your module.Hope this will answer you, Regards
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With