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.
Tagged: Go Global Application
This topic contains 22 replies, has 2 voices.
Last updated by Dražen 1 year, 6 months ago.
Assisted by: Dražen.
Author | Posts |
---|---|
January 26, 2024 at 5:23 am #15228622 | |
mahmoudA-39 |
Hi A confirmation email is sent to client when he books a room. The Arabic email direction RTL was fine however, we noticed after updating WPML String Translation to 3.2.9 ,the direction and translated terms changed to in English. Code in English "<center class="text-direction-{lang_direction}" style="background: rgb(255, 255, 255); padding: 10px 0px; color: rgb(102, 102, 102); width: 100%; table-layout: fixed; "> <div style="text-align: center;"> But in Arabic code is different now "center style="background: rgb(255, 255, 255); rgb(102, 102, 102);_10px 0px width: 100%; table-layout: fixed; <?php echo isset($booking_info) && !empty($booking_info['lang']) && stripos($booking_info['lang'], 'ar') === 0 ? 'direction: rtl;' : ''; ?>"> <div style="text-align: center;"> |
January 26, 2024 at 8:09 am #15228921 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, can you please explain next: 1) From which plugin is this email coming? 2) How are you adding email content in the default language? 3) How are you translating email content? Regards, |
January 26, 2024 at 8:33 am #15229002 | |
mahmoudA-39 |
Hi 1- Vikbooking plugin THe RTL was working correctly before updating to latest WPML String Translation. Regards |
January 26, 2024 at 8:44 am #15229053 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, can you please try to make a small change to the default language email content, then go to WPML > String translation and re-translate it again. Let me know if that helps. Regards, |
January 26, 2024 at 8:56 am #15229122 | |
mahmoudA-39 |
Hi Tried but NO change Regards |
January 26, 2024 at 9:00 am #15229163 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, thanks. Since this is not officially compatible with WPML and not on our list, nor tested by us, some issues may happen. To further check and confirm this I have created test site. You can access the WordPress dashboard using the link below: Kindly follow the steps below: This will help us to report the probable issue to the compatibility team and solve the possible problem faster. Regards, |
January 26, 2024 at 11:08 am #15229684 | |
mahmoudA-39 |
Hi Is it possible that I make a staging site for the testing. will deactivate all an necessary plugins? Regards |
January 26, 2024 at 11:55 am #15229873 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, either way, we would need to try reproducing the issue on the sandbox website to escalate to our compatibility team or contact the author. That is to speed things up if possible I kindly ask you to try, it should not take you more than 15 minutes. I have already set up and configured everything. You just need to install the mentioned plugin and try to reproduce issue with email. Let me know, Thanks, |
January 26, 2024 at 1:11 pm #15230298 | |
mahmoudA-39 |
Hi Done See the email log , it is not rtl. I made the booking in Arabic version Regards |
January 26, 2024 at 1:15 pm #15230351 | |
mahmoudA-39 |
Path to email code Vikbooking>Configuration>Views & Layout>Customer email |
January 26, 2024 at 1:20 pm #15230360 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, thanks, but that is expected if the plugin doesn't have AR translations. The same issue would happen if you do not use WPML and have AR as the website language. 1) Did you on Sandbox translate the email content, if so how? Please share the steps. 2) Does the issue still happen on your website if you disable WPML plugins, and from Settings > General set Arabic language? Let me know. Thanks, |
January 26, 2024 at 4:02 pm #15231107 | |
mahmoudA-39 |
Hi 1- The plugin has Arabic translations for most texts. This email is not within them. They are using shortcodes. I made translation of one room . please see hidden link. 2- The email is not found by String translation. Even though it is found in our site. 3- Since the email is not translated by the plugin, the only way is by to translate by WPML Regards |
January 29, 2024 at 7:58 am #15236393 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, I checked but I can not find this email for translation nor it can be added, as far I have checked. I think this is not possible since the plugin is not officially compatible with WPML. Can you please contact the plugin author and check with them if there is any way? I also see they offer a built-in translation method: - hidden link I suggest sharing with them the next guide and inviting them to our GoGlobal compatibility program and we will be glad to help out: - https://wpml.org/documentation/support/translating-the-theme-you-created/ Regards, |
January 29, 2024 at 8:49 am #15236551 | |
mahmoudA-39 |
Hi The Compatibility issue was resolved earlier. Please refer to https://wpml.org/forums/topic/vikbooking-plugin-email-translation/ 1- The email shows in Translation String in the site. The arabic translation is there. Regards |
January 29, 2024 at 8:54 am #15236561 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, my both colleague suggested a fix and this needs to be adjusted by the plugin author, we can not fix the issue for them. Or they can join our program and we will be glad to help them in making this plugin compatible. I have checked the file and can see the strings are not translatable, image attahced. Please contact them further as they need to follow our suggestion or join our program. Regards, |