mirror of
https://github.com/odoo/documentation.git
synced 2026-01-02 09:49:17 +07:00
87 lines
3.5 KiB
ReStructuredText
87 lines
3.5 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 this is:
|
|
|
|
#. | Add French to the website in the settings.
|
|
| Enable the language switcher in the header via presets.
|
|
.. TODO: why translate the carousel in the backend?
|
|
#. | 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 would like, you can add more translations directly by editing the :file:`.po` file. (using
|
|
Poedit, your code editor, or another translation tool).
|
|
|
|
.. note::
|
|
- Be careful when using Poedit, as it doesn't handle tags with styles well and 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:
|
|
.. TODO: is it a good practice to add emojis in .rst file?
|
|
|
|
| ✅ **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.
|
|
| ✅ **eCommerce 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 ready 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.
|