Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client has a bilingual website (Arabic and English) and is facing an issue where customer information appears in Arabic on the order page and on the invoice when a purchase is made in English using WooCommerce PDF Invoices, Packing Slips, and Credit Notes (Pro).
Solution:
1. We recommend following the steps in our guide to change the language in the backend of the site: Setting the WordPress Administration Language.
After doing so, you can instruct your client on how to change the backend language in their account.
2. We also suggest increasing the WordPress memory limit to at least 128MB. You can do this by adding the following code to your

wp-config.php

file, which is located in the root of your site:

/* Memory Limit */<br />define('WP_MEMORY_LIMIT', '256M');

Make sure to add this code above the line

/* That's all, stop editing! Happy blogging. */

.
You can verify the WordPress memory limit in WPML -> Support.
If this solution doesn't look relevant, please open a new support ticket.

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 1 reply, has 2 voices.

Last updated by Carlos Rojas 1 year, 6 months ago.

Assisted by: Carlos Rojas.

Author Posts
January 11, 2024 at 9:00 am #15172821

mohammad-arabiF

I have a website that supports two languages, Arabic and English
When a customer buys products in English...their information appears in Arabic on the order page...and on the invoice (WooCommerce PDF Invoices, Packing Slips and Credit Notes (Pro))

Screenshot (129).png
Screenshot (130).png
January 11, 2024 at 3:10 pm #15175410

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Hello,
Thank you for contacting us

1.- Please follow the steps described in this guide to change the language in the backend of the site: https://wpml.org/documentation/getting-started-guide/language-setup/setting-the-wordpress-administration-language/

Then you can indicate to your client how to change the backend language on his/her account

2.- Por favor incremente el límite de memoria de WordPress. El mínimo requerido es de 128Mb: https://wpml.org/home/minimum-requirements/
Para ello puede agregar el siguiente código al archivo wp-config.php que se encuentra en la raíz del sitio:

 /* Memory Limit */
define('WP_MEMORY_LIMIT', '256M');

- Añádelo encima de la línea /* That's all, stop editing! Happy blogging. */

You can double-check the WordPress memory limit in WPML -> Support

Regards,
Carlos