mirror of
https://github.com/odoo/documentation.git
synced 2026-01-03 18:26:27 +07:00
85 lines
3.4 KiB
ReStructuredText
85 lines
3.4 KiB
ReStructuredText
.. _tutorials/website_theme/going_live:
|
||
|
||
======================
|
||
Chapter 6 - Going live
|
||
======================
|
||
|
||
.. _tutorials/website_theme/going_live/translations:
|
||
|
||
Translations
|
||
============
|
||
|
||
Congratulations! Your client has a beautifully designed homepage and contact page, and the eCommerce
|
||
is fully adapted to the Airproof design. Amazing!
|
||
|
||
Now, the client wants the website translated into French.
|
||
|
||
The easiest way to do it is:
|
||
|
||
#. | Add French to the website in the settings.
|
||
| Enable the language switcher in the header via presets.
|
||
#. | Translate the content of the homepage carousel through the backend.
|
||
| But for the menu, make the translations through the frontend.
|
||
#. | Export the French :file:`.po` file for your Airproof module.
|
||
| Place it in the :file:`/i18n` translations folder.
|
||
#. If you want you can make more translations directly by editing the :file:`.po` file. (using
|
||
Poedit software, your code editor, or another translation tool).
|
||
|
||
.. note::
|
||
- Be careful when using Poedit it doesn’t handle tags with style well and it generates an
|
||
:file:`.mo` file.
|
||
- To see the changes made directly via the :file:`.po` file, you will need to manually import the
|
||
file.
|
||
|
||
.. seealso::
|
||
Documentation on :ref:`website_themes/translations/backend` and :ref:`website_themes/translations/frontend`
|
||
translations, and how to :ref:`website_themes/translations/export` them.
|
||
|
||
.. spoiler:: Solutions
|
||
|
||
Find the solution in our Airproof example on
|
||
`i18n/fr_BE.po <https://github.com/odoo/tutorials/tree/16.0/website_airproof/i18n/fr_BE.po>`_.
|
||
|
||
.. _tutorials/website_theme/going_live/module_import:
|
||
|
||
Module import
|
||
=============
|
||
|
||
Great job! The website is now completely finished and your module is ready for installation in the
|
||
client's database.
|
||
|
||
Before that, test the import process on a new database.
|
||
|
||
.. tip::
|
||
- Ensure the `base_import_module` is installed on the database before the module installation.
|
||
- Verify all required applications are installed.
|
||
- Skip the theme installation steps and start from scratch.
|
||
- Manually import translations after module installation, as they won’t apply automatically.
|
||
|
||
.. seealso::
|
||
Documentation on how to :doc:`deploy a module <../../howtos/website_themes/going_live>` on an
|
||
Odoo SaaS database.
|
||
|
||
Conclusion
|
||
==========
|
||
|
||
Congratulations on completing the **Build a module for a website theme** tutorial!
|
||
You've successfully navigated through every stage, from setting up your development environment to
|
||
launching a fully customized Odoo website theme.
|
||
|
||
Throughout this journey, you've mastered:
|
||
|
||
| ✅ **Theme module creation** – setting up the structure, declaring Odoo and Bootstrap variables.
|
||
| ✅ **Website building** – creating pages, adding media, and constructing dynamic building blocks.
|
||
| ✅ **Advanced customization** – implementing custom SCSS, JavaScript, headers, footers, and unique
|
||
design elements.
|
||
| ✅ **Visual enhancements** – designing background shapes, gradients, and animations for an
|
||
engaging user experience.
|
||
| ✅ **eCcommerce optimization** – adapting shop and product templates for a seamless shopping
|
||
experience.
|
||
| ✅ **Final preparations** – managing translations and ensuring a smooth module import.
|
||
|
||
| With these skills, you’re now to design and develop professional, fully customized website themes.
|
||
Well done! 🎉
|
||
| We can’t wait to see the amazing themes you’ll create in the future.
|