WooCommerce Bookings can be translated into different languages by modifying the related Bookings language files, either manually or through the use of a third-party extension. You can also utilize this approach to customize the default text provided by the plugin according to your preference.
Note:
This is a Developer level doc. If you are unfamiliar working with code and resolving potential conflicts, we recommend you work with a Woo Agency Partner for larger projects, or find a WooCommerce developer on Codeable for smaller customizations. We are unable to provide support for customizations under our Support Policy.
How to find and edit the Bookings language files
↑ Back to topThe language files for the WooCommerce Bookings plugin can be found within /wp-content/plugins/woocommerce-bookings/languages/. The file woocommerce-bookings.pot is a template of source strings, not a completed translation.
With a program like PoEdit, you can use the .pot file to create language translation files. For example, if you want a translation of the Bookings extension in Dutch from the Netherlands, you would translate the strings and create translation files: woocommerce-bookings-nl_NL.mo and woocommerce-bookings-nl_NL.po.
WordPress can load plugin language files from /wp-content/languages/plugins/. Follow your translation tool’s instructions for its supported location and keep a backup of your editable PO file; a plugin or language-pack update can replace files.
After adding the files, set the site language to your locale and check Bookings text on a booking form and in relevant admin screens or emails. If text remains untranslated, check the locale, filenames and translated strings. JavaScript strings can require separate JSON catalogs.
Other resources
↑ Back to top- Find translations for WooCommerce core on Translate WordPress.org.
- Use a translation plugin such as Loco Translate to create or edit translations.
For help with a translation plugin, contact its developer. For general guidance, see Translating WooCommerce Extensions and Translating WooCommerce.
Questions and support
↑ Back to topSomething missing from this documentation? Still have questions and need assistance?
- If you have a question about a specific extension or theme you’d like to purchase, contact us to get answers.
- If you already purchased this product and need some assistance, get in touch with a Happiness Engineer via our support page and select this product’s name from the Product dropdown.